Phucon,
When I want to do something like that, I toggle the visible property of the two controls. As far as I know, you can't change the stacking order using VBA but hiding one (visible = false) while showing the other (visible = true) gives you the same effect.
Glenn
From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of saigonf7q5@yahoo.com
Sent: Wednesday, December 11, 2013 5:57 PM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] How do I or is it possible to use the BRING TO FRONT and SEND TO BACK in VBA code?
I have 2 controls ( a combo box and a text box) that are overlapping , 1 on top the other. Sometimes I want to bring the combo box to the front, other times I want to send it to the back to show the text box's info. Is it possible or how do I use BRING TO FRONT and SEND TO BACK in VBA code?
Thank you
Phucon
Reply via web post | Reply to sender | Reply to group | Start a New Topic | Messages in this topic (2) |
Tidak ada komentar:
Posting Komentar