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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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 | |
|
|