switching between forms

N

NasaDBGuy

I have a form with lots of sub forms and sub-sub-forms. Is there an event
that fires when switching from one subform to another?
 
M

Marshall Barton

NasaDBGuy said:
I have a form with lots of sub forms and sub-sub-forms. Is there an event
that fires when switching from one subform to another?


The subform control's (on the main form) GotFocus and Enter
events will fire when you move to a subform. That will not
tell you that you came from a subform, but
Screen.PreviousControl may help with that.
 
Top