Great component!
It would be useful to know how to change the color of two of the TeeGrid aspects.
I know of:
TeeGrid1.Back.Brush.Color
the background color of the grid item
TeeGrid1.Cells.Format.font.color
the font color of the grid item
I need to know how to set:
The selected item brush color
The selected item font color
Anyone have this information? Thanks in advance!
TeeGrid Colors
-
- Newbie
- Posts: 22
- Joined: Tue Aug 22, 2023 12:00 am
Re: TeeGrid Colors
Teegrid1.Selected.format.Brush.color (bg color of the selected row)
Re: TeeGrid Colors
Hello,
I believe you only missed to set the
):
I believe you only missed to set the
ParentFont
to False
. This works for me (sorry for the colors chosen 
Code: Select all
TeeGrid1.Selected.ParentFont:=False;
TeeGrid1.Selected.Format.Font.Color:=clRed;
TeeGrid1.Selected.Format.Brush.Color:=clGreen;
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |