When I have a TeeGrid on a Form, and I have a StyleBook applied to this form, the form shows styled, but the grid remains "white".
If I open the TeeGrid Editor, I can select "Default" in the Theme tab, and things appear good at design time, however, if I run the grid is white again. Any editors assigned to a cell do appear in the correct style, but the background of the grid and the cells are all white.
What do I need to do to apply the style settings to a TeeGrid?
Regards,
Hans
TeeGrid and Style
Re: TeeGrid and Style
Hello Hans,
There is an example of the application of styles that may help here:
https://github.com/Steema/TeeGrid-VCL-F ... key/Themes
This property can change the back colour of a Grid:
Regards,
Marc Meumann
There is an example of the application of styles that may help here:
https://github.com/Steema/TeeGrid-VCL-F ... key/Themes
This property can change the back colour of a Grid:
Code: Select all
TeeGrid1.Back.Brush.Color := TColors.Yellow;
Marc Meumann
Steema Support