V
vdavid
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...)
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...)