on horns of a dilema

S

Sophie

I have a form having several controls including a subform. The main form has
4 command buttons that I want visible only when the cursor is in one of the
subform's controls. These buttons should be not visible when the cursor is
in one of the main form's controls. How can I do this?

When I put code like 'Me!cmdNext.visible = true' or 'Me!cmdNext.visible =
false' in the subform contol's ON ENTER or ON EXIT events, things work well
until I actually click one of the buttons. In doing so, control leaves the
subform, so the button is no longer available to click!!! Any suggestions?

much thanks
 
M

mscertified

Your interface makes no sense. Why have buttons visible when they cannot be
clicked and then make them invisible when the user wants to click them!
It would help if you let us in on what the purpose of the buttons is!
-Dorian
 

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