GridLineColor dont change


Changing GridLineColor property inside TDBAdvGrid affects only in design time. In runtime it is the default color?

I noticed now it happens because I selected Look property as glWin7. Why all other visual properties of TDBAdvGrid don't change their values according glWin7 style? Then, changing any other visual property should automatically change Look property to glCustom.

If you're setting grid.Look to glWin7, grid.GridLineColor is preset as $00ECECF0. As such, when the grid loads, glWin7 look is applied and grid.GridLineColor is set to this setting.

If you need that grid.Look = glWin7 but you want a different grid line color, please set grid.GridLineColor at runtime, for example in the Form's OnCreate event.