Subject Re: [IBO] How to change Color of selected (=highlited) row ?
Author Geoff Worboys

DONT use the dataset Buffer* attributes for anything but generic
dataset tests. For actual grid attributes use the grid properties.
With ACol and ARow being the grid cell references provided by the
event handler...

// grid data rows are those rows after the fixed rows
if ARow >= Grid.FixedRows then begin
// dont use: if BufferRowNum > 0 then begin

// To access the appropriate column reference use...
MyColumn := GridFields[DataCol[ACol]];
// dont use: BufferFieldByName('OTHERPILOT');

See the Contact sample application which demonstrates the use of
OnGetCellProps including the GridFields property mentioned above.


Geoff Worboys
Telesis Computing