how to "move forward" in vba ?

  • Thread starter Thread starter Pierre
  • Start date Start date
P

Pierre

Hi,

I would to bring a control in front of others.
When in design mode, it is possible to use the "move forward" item in the
menu.
How to do the same thing in vba ?
I do not find any equivalent in the docmd methods.

Thanks.

Pierre.
 
Hi,
i am afraid that you can do this only in design time.
what you can do - is to put several controls on your form with different
z-order, and then play with visibility
HTH
 
Pierre said:
I would to bring a control in front of others.
When in design mode, it is possible to use the "move forward" item in the
menu.
How to do the same thing in vba ?
I do not find any equivalent in the docmd methods.


No can do at run time.

Note that the control with the focus automatically comes to
the front.

Other than that, as Alex said, use the Visible property to
hide the ones in front of the one you want to see.
 
Back
Top