Subject | Re: TIB_CheckBox delay |
---|---|
Author | s.beames@mailbox.gu.edu.au |
Post date | 2001-03-10T05:01:20Z |
Thanks again Geoff,
stash. :-)
Cheers,
Steve
> You could do the same thing for the Checkbox...Yes, these both work fine! I won't use the Checked property.
> IB_CheckBox->Field->AsBoolean
>
>
> > > My preference when in a data component is to use data
> > > properties/methods.
> >
> > Can do! (You mean something like (ClientsQry->FieldByName
> > ("ACCNTHLDR")->AsString == "T"), right?)
>
> Yes, although if the field has been defined as boolean;
> ColumnAttributes contains..
> FieldName=BOOLEAN=T,F
>
> then you can simply use
> ClientsQry->FieldByName("ACCNTHLDR")->AsBoolean
> > > If you are worried about the performance of using-snip->
> > > FieldByName, you could setup column references in
> > > OnPreparedChanged.
> >
> > I'm not sure what you're suggesting here.
> > Can you elaborate please?
>
> Firstly, the following description is only really worthwhile if the
> event is going to be called many times in a tight loop. If it is
> Geoff WorboysGotcha! Thanks for the detailed explanation! I'm adding it to my
> Telesis Computing
stash. :-)
Cheers,
Steve