Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old October 22nd, 2007, 07:05 PM
bhrosey via AccessMonster.com
Guest
 
Posts: n/a
Default Event procedures

Is there somewhere I can go to find out exactly what all the "event" names do?
For example, when exactly does the "on dirty" event happen or "on focus", etc.
.. Is ther a list out there somewhere?

Thanks

Bill

--
John 3:16 "For God so loved the world that He gave His only begotten Son, so
that whoever believes in Him shall not perish, but have eternal life"

Message posted via http://www.accessmonster.com

  #2  
Old October 22nd, 2007, 08:15 PM
Rich P
Guest
 
Posts: n/a
Default Re: Event procedures

Hi Bill,

The easiest way to learn what events are fired when is to select each
event you need to work with from the Events dropdown box on the form's
class module. Then place a messagebox call for each event

msgbox "OnDirty Event"
...
...
msgbox "OnFocus Event"
...

Note: the messagebox may interfere with some events firing completely
(or at all) because of the modalness of the messagebox. In that case
you can do a debug.Print for each event and look at the debug window.
Some events (like the OnCurrent event) will fire for anything you do on
the form and you will either have dozens of messageboxes (more like
hundreds - to the point where you have to ctrl-alt-del to shut down the
medb) or you might get lots of debug.prints - but you don't have to shut
down for debug.print because that will execute right on through and just
write out your message to the debug window.


Rich

*** Sent via Developersdex http://www.developersdex.com ***
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles