A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

raise event for access object



 
 
Thread Tools Display Modes
  #1  
Old June 14th, 2004, 10:55 AM
vdavid
external usenet poster
 
Posts: n/a
Default raise event for access object

Hello,

I have some code who put event catchers on a control to do some AfterUpdate
stuffs like this :

Dim WithEvents myTrigger1 as CheckBox
....
set MyTrigger1 = Me.myCtrl
....
Private Sub myTrigger1_AfterUpdate()
....
End Sub

there is many catchers like this my form don't know about.

OK it works well. My form don't need and can't know who catch events. Event
are done for this. But sometimes, i need to change by program the value of
myCtrl. Without the event catchers I wrote, I only need to call
myCtrl_AfterEvent(). But with, all AfterEvent methods of the catchers need
to be called. I'd like to do a "raiseEvent" for AfterEvent, but this can't
be called outside the object who declare the event (here the TextBox
itself...)

Any idea ? (get the event queue for an object, or another paradigm...)



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:56 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.