Main Access window: reposition

  • Thread starter Vladimír Cvajniga
  • Start date
V

Vladimír Cvajniga

Hello,

is there any chance to treat main Access window's reposition? As far as I
know there's no Reposition event in Access. I have a floating form which
displays within the area of the first toolbar of main form (just below the
title) and I'd like to move it together with main Access's window.

Or is there any way how to display a label or a textboxt within a toolbar?

TIA

Vlado
 
S

storrboy

Hello,

is there any chance to treat main Access window's reposition? As far as I
know there's no Reposition event in Access. I have a floating form which
displays within the area of the first toolbar of main form (just below the
title) and I'd like to move it together with main Access's window.

Or is there any way how to display a label or a textboxt within a toolbar?

TIA

Vlado


http://allapi.mentalis.org/agnet/appdown.shtml
Although I think updates are no longer available, this is still a
great tool to have in your arsenal.

Or search on how to use GetWindowPlacement and SetWindowPlacement.
These should move the main window.
Moving the form is easier DoCmd.MoveSize
[, down][, width][,
height]

Displaying controls other than the standard menu and buttons but I
can't recall at the moment which ones. Look through the help file for
the CommandBars object(s). Lots of objects there to read about.​
 
V

Vladimír Cvajniga

I'm affraid that it's not available for a standard CommandBar. There are
some tricks for msoControlPopup but I don't think I may re-distribute MSO
toolbars.

Vlado

"storrboy" <[email protected]> píse v diskusním príspevku
Hello,

is there any chance to treat main Access window's reposition? As far as I
know there's no Reposition event in Access. I have a floating form which
displays within the area of the first toolbar of main form (just below the
title) and I'd like to move it together with main Access's window.

Or is there any way how to display a label or a textboxt within a toolbar?

TIA

Vlado


http://allapi.mentalis.org/agnet/appdown.shtml
Although I think updates are no longer available, this is still a
great tool to have in your arsenal.

Or search on how to use GetWindowPlacement and SetWindowPlacement.
These should move the main window.
Moving the form is easier DoCmd.MoveSize
[, down][, width][,
height]

Displaying controls other than the standard menu and buttons but I
can't recall at the moment which ones. Look through the help file for
the CommandBars object(s). Lots of objects there to read about.​
 
S

storrboy

I'm affraid that it's not available for a standard CommandBar. There are
some tricks for msoControlPopup but I don't think I may re-distribute MSO
toolbars.

Why not? When you create a custom one it goes with the DB.
 
V

Vladimír Cvajniga

I'm affraid that the mso* stuff belongs to Microsoft Office Object Library
and thus may not be redistributed. :-/

Vlado

"storrboy" <[email protected]> píse v diskusním príspevku
I'm affraid that it's not available for a standard CommandBar. There are
some tricks for msoControlPopup but I don't think I may re-distribute MSO
toolbars.

Why not? When you create a custom one it goes with the DB.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top