473,396 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

Oct 22 '07 #1
1 1474
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 ***
Oct 22 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Perion | last post by:
I have a simple form with, among other things, an ADODC data control (called "Adodc1"). The ADO connection to the database tests fine but when I try to add code to any of the Adodc1 control's event...
4
by: Corepaul | last post by:
I am a newbie using Access 2000. I am using the following test in the txtAlbum OnExit procedure to prevent leaving an empty text box for a required field If (IsNull(txtAlbum.Value)) Or...
5
by: cwm137 | last post by:
I am trying to call the click event of a button located in a subform called "Order Subform" from a button in the parent. However, since the subform was made with the wizard, it contains a space in...
3
by: R Millman | last post by:
under ASP.NET, single stepping in debug mode appears not to stop within event procedures. i.e. 1) Create web page with submit button and event procedure for the click event in the code behind...
10
by: Siv | last post by:
Hi, I am struggling with VB.NET's lack of indexing on controls. I have a form with 23 text boxes and I want to be able to drag some items in a list to any one of those text boxes. In VB6 I...
41
by: JohnR | last post by:
In it's simplest form, assume that I have created a usercontrol, WSToolBarButton that contains a button. I would like to eventually create copies of WSToolBarButton dynamically at run time based...
4
by: glen | last post by:
I have a multiproject solution; one of the projects is a group of classes doing data massage and insertions. One of the other projects is a UI that kicks off the process in certain situations. I'd...
4
by: Denis | last post by:
Hi, Looking at the template "Order Entry" in Ms Access, how do you get the following to work? In the customer form there is a sub-form giving a summary of orders by customers. After entering...
16
by: Neil | last post by:
I am using Access 2003, and have an ongoing problem of every once in a while losing an event procedure for a form or control. The procedure's still in the code module, but the form or control's...
4
by: =?Utf-8?B?bXIgcGVhbnV0?= | last post by:
Usually when a method is executing and an event occurs the event handler executes then the thread is returned to the original method. I have a case where I want my event handler to cancel...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.