Subject Re: [IBO] TIB_Transaction OnStatusChange missing
Author Helen Borrie (TeamIBO)
At 03:59 AM 20-05-02 +0000, Eric Handbury wrote:
>Hello,
>
> (BCB4, FB1, IBO_4Gc)
>
> I have been trying to figure-out how to trap changes to
>TransactionIsActive. A previous poster said to use the event
>OnStatusChange. This event is not present in BCB.
> My questions are:
> 1) Does anyone else using BCB have this event? (Which means that I
>somehow built IBO incorrectly).
> 2) If this event is really not available, how does one trap the
>change in TransactionIsActive? I have some buttons that I want to
>enable/disable depending on the value.

Use a TIB_TransactionSource object on your form. This component "watches"
the transaction it is attached to and has events that you can use to
disable your buttons (including OnStatusChanged!!)


regards,
Helen Borrie (TeamIBO Support)

** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com