Subject | Re: [IBO] TIB_CheckBox delay |
---|---|
Author | Geoff Worboys |
Post date | 2001-03-09T11:50:42Z |
> I've noticed that when I examine TIB_CheckBox->Checked in theI would have to go through the code to check the order of all the
> datasource's OnDataChange event handler, upon changing rows
> via a TIB_Grid, that the state is still that of the previously
> selected row of the dataset!
>
> Is there a way to ensure that this property is accurate at this
> time, or do I have to continue using (ClientsQry->FieldByName(
> "ACCNTHLDR")->AsString == "T"), which does reflect the correct
> value?
notifications. Is it only the checkbox that is doing this or are
other controls still waiting to be notified as well?
My preference when in a data component is to use data
properties/methods. If you are worried about the performance of using
FieldByName, you could setup column references in OnPreparedChanged.
Geoff Worboys
Telesis Computing