Subject RE: [IBO] IB_CtrlGrid - OnPaintPanel
Author Jason Wharton
> I have another question, using the IB_CtrlGrid.
> There are some IB_Text-controls on the grid.
> In case of a value in the query, I would like to set the Font.Color
> property of some of the IB_Text controls in case of the values.
>
> How can I realise that?

You have to use the BufferFields rather than Fields because it is walking
the buffer as it is painting rows.

It may help performance to store pointers to the TIB_Column references
returned from BufferFieldByName() and use those in your event handlers.

HTH,
Jason Wharton
www.ibobjects.com