on horns of a dilema

  • Thread starter Thread starter Sophie
  • Start date Start date
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
 
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
 
Back
Top