Subject | Re: [IBO] Behaviour of TIB_UpdateBar |
---|---|
Author | Helen Borrie |
Post date | 2004-05-24T23:08:06Z |
At 07:30 PM 24/05/2004 +0200, you wrote:
AnnounceFocus true, then the UpdateBar will indicate the state of the
dataset that currently has focus in the UI. So, if you have an Edit
pending on one dataset and then click into a control that's associated with
another editable dataset, you will see a "live" edit button pertaining to
the second dataset.
Could this be what you are observing? I always use this feature and
haven't seen any anomalies in edit button behaviour...edit and post buttons
correctly reflect the state of each dataset.
Helen
>hello,If you have its ReceiveFocus property set true and the datasources have
>
>I have noticed that the TIB_UpdateBar's Edit button doesn't change its
>state when pressed. That's to say that if I press the Edit button I go
>into edit mode, ok, but the Edit button remains enabled allowing to
>continue to click it generating obvious errors (Transaction already
>started). I'm using IBO 4.3Aa.
>
>Is this a normal behaviour? The other two visible buttons (Post and
>Cancel) behave normally instead: Disabled when browsing, enabled in
>edit mode. The bar is connected to the dataset by mean of a regular
>TIB_DataSource (the same used for the TIB_Grid).
AnnounceFocus true, then the UpdateBar will indicate the state of the
dataset that currently has focus in the UI. So, if you have an Edit
pending on one dataset and then click into a control that's associated with
another editable dataset, you will see a "live" edit button pertaining to
the second dataset.
Could this be what you are observing? I always use this feature and
haven't seen any anomalies in edit button behaviour...edit and post buttons
correctly reflect the state of each dataset.
Helen