Subject | Can't Capture OnError |
---|---|
Author | Infocare Developer |
Post date | 2002-11-11T11:11:51Z |
It's probably something stupid, but i can't seem to capture the OnError
event on the TIB_Connection, it never fires on error, if i look at the
exception it occurs in IB_Session line 1083 DoHandleError but doHandle error
checks if assigned(FOnError)
but FonError is not assigned.
it seems to try and execute IB_Session's onError and simply ignores the
IB_Connection's onerror
I have tried placing a TIB_Session component on the datamodule and on the
Create linking it:
IB_Connection1.IB_Session := IB_Session1;
and then assigning the ib_session's onError, but still if i evaluate it it
is not assigned FOnError
what am i doing wrong?
event on the TIB_Connection, it never fires on error, if i look at the
exception it occurs in IB_Session line 1083 DoHandleError but doHandle error
checks if assigned(FOnError)
but FonError is not assigned.
it seems to try and execute IB_Session's onError and simply ignores the
IB_Connection's onerror
I have tried placing a TIB_Session component on the datamodule and on the
Create linking it:
IB_Connection1.IB_Session := IB_Session1;
and then assigning the ib_session's onError, but still if i evaluate it it
is not assigned FOnError
what am i doing wrong?