Subject | ib_connection.BeforeDisconect |
---|---|
Author | Dominik Murk |
Post date | 2002-04-17T09:13:32Z |
Hi,
IBO 4.2.Eb, Delphi6 Enterprise.
Before I close my form I call IB_CONNECTION.DISCONNECT.
I do have 2 events: OnBeforedisconnect and OnAfterDisconnect but they aren't
executet becouse in IBA_Connection.imp it says: 'if not ( csDestroying in
ComponentState ) then ...' and my events isn't called becouse csDestroying
is in ComponentState.
Is that ok and if it is do i have to call manualy this events?
Thanks,
Dominik Murk
IBO 4.2.Eb, Delphi6 Enterprise.
Before I close my form I call IB_CONNECTION.DISCONNECT.
I do have 2 events: OnBeforedisconnect and OnAfterDisconnect but they aren't
executet becouse in IBA_Connection.imp it says: 'if not ( csDestroying in
ComponentState ) then ...' and my events isn't called becouse csDestroying
is in ComponentState.
Is that ok and if it is do i have to call manualy this events?
Thanks,
Dominik Murk