Board index » cppbuilder » Set color of TStringGrid lines

Set color of TStringGrid lines


2007-03-24 05:02:27 AM
cppbuilder6
Can the color of TStringGrid grid lines be set?
Thanks.
Greg Reese
 
 

Re:Set color of TStringGrid lines

"Greg Reese" < XXXX@XXXXX.COM >wrote in message
Quote
Can the color of TStringGrid grid lines be set?
The color is hard-coded. The only way to change it is to edit
Grids.pas in the VCL source code. Otherwise, you will have to use the
OnDrawCell event to manually draw your own lines over top of the
default lines.
Gambit