Subject RE: [IBO] IB_Grid & changing the selected row color
Author Vahan Yoghoudjian
Hi Bob

You can use the following statements in the OnDrawDataCell event of the Grid

if (gdSelected in State) then begin
myGrid.Canvas.Font.Color := clWhite;
myGrid.Canvas.Brush.Color := clRed;

myGrid.Canvas.Brush.Color := clWhite;


-----Original Message-----
From: Bob Zirbel [mailto:bobz22001@...]
Sent: Tuesday, June 15, 2004 6:18 AM
Subject: [IBO] IB_Grid & changing the selected row color

Hi all

Can anyone tell me how to change the currently selected row color
(blue/navy) of an IB_Grid?
I tried the obvious CurrentRowColor property and a dozen other
combinations of settings to no avail.

Any help would be appreciated.



IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________ - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Yahoo! Groups Sponsor

Yahoo! Groups Links

a.. To visit your group on the web, go to:

b.. To unsubscribe from this group, send an email to:

c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

[Non-text portions of this message have been removed]