application level events

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

Guest

I would like to call a subroutine on the OnChange or LostFocus event of most
of the controls I have on an input form. Is there a way of doing this at an
application level rather than having to put in the call into each of the
individual controls? (there are about 100 controls that need to call the
procedure which, apart from the time needed to type in the code, would make
the maintenance of it a headache)
many thanks,
Pete
 
See the WithEvents article on my site

Italian said:
I would like to call a subroutine on the OnChange or LostFocus event of most
of the controls I have on an input form. Is there a way of doing this at an
application level rather than having to put in the call into each of the
individual controls? (there are about 100 controls that need to call the
procedure which, apart from the time needed to type in the code, would make
the maintenance of it a headache)
many thanks,
Pete
 

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