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.
 

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

Back
Top