Subject | IB_Events and Processing |
---|---|
Author | Alan McDonald |
Post date | 2007-05-02T06:01:04Z |
I need to unregister certain events at runtime, then re-register them after
certain actions have taken place.
Occasionally users get an exception
2.4 Type : EIB_Error
2.5 Message: Cannot unregister events while processing.
Does anyone know what I can call before I unregister to see if it's safe to
do so?
if I
do while IB_Events1.ProcessingEvents begin
end;
I might get caught in an endless loop....
I don't want to continue until the events are unregistered though.
Any suggestions anyone?
regards
Alan McDonald
certain actions have taken place.
Occasionally users get an exception
2.4 Type : EIB_Error
2.5 Message: Cannot unregister events while processing.
Does anyone know what I can call before I unregister to see if it's safe to
do so?
if I
do while IB_Events1.ProcessingEvents begin
end;
I might get caught in an endless loop....
I don't want to continue until the events are unregistered though.
Any suggestions anyone?
regards
Alan McDonald