Bring to front in vba

S

Sandy H

Hi
Anyone know how to bring an object on a form to the front at runtime. I have
a label on a form that I want to bring to the front when a button is
clicked.

Thanks in advance.
Sandy
 
G

Graham Mandeno

Hi Sandy

The Z-order of Access controls is quite difficult to manipulate at runtime.
Can you not achieve what you want by changing the label's Visible property?

--
Good Luck!
Graham Mandeno [Access MVP]
Auckland, New Zealand

Return mail address is invalid in a vain attempt to reduce spam.
Feedback is welcome at: [email protected]
Please post new questions or followups to newsgroup.
 
Top