Changing the position of a docked CommandBar

M

Michael Spahn

Hi access experts,

I have made some own CommandBars (using access of office XP). One CommandBar
is visible all the time, some others are only shown, if the form, which the
CommandBar belongs to, is active. No problem so far. But if a CommandBar has
been hidden and is made visible again, it may happen that it is shown in
another level than the other CommandBar, which is always shown. Now I have
the problem, that all CommandBars should be shown in one level (at the very
top of the screen).

I tried to position the CommandBar object via its attributes "top" and
"left". If the CommandBar is not docked it is no problem to change the
position of it - but if it's docked I can only change its horizontal
position to the left and to the right via "left". It seems, that it is not
possible to change the level of the docked CommandBar via "top". I can read
the "top" attribute of the CommandBar object, but if I try to change it,
there is no effect.

Can someone please help me and tell me how to change the level of a docked
CommandBar object? How can I change the (vertical) position (in the sense of
"top") of a docked CommandBar?

Thanks in advance,
Michael
 
M

Michael Spahn

Hi,

I just want to inform you that I have found the solution to my problem
(thanks to Jörg Ostendorp):

It is possible to modify the level in which a CommandBar object is shown via
the attribute "RowLevel".
 

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