Activate event, testing when triggered ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there ant neat way to tell if a form's Activate event is firing after the
form is opened as opposed to after returning to the form from another form? I
don't want to use global variables. But I need to fire some code only when
returning from another from, not when following the open event.
 
Put your code in the Close event or the Deactivate event of the form you are
returning from.
 
The problem with that approach is that I'd have to put it in multiple places
and I'd rather put it in one place.
 
Back
Top