Developer

Color

Specify Cell's background Color.

property Color: TColor read GetColor write SetColor;

Example:


NextGrid61.Cell[2, NextGrid61.SelectedRow].Color := clRed;

Remarks


If ParentColor property of Cell is set to True, Column's Color will be used while painting and value from this property will be ignored. If Color property of Cell is set, ParentColor is automatically set to False.

By using this mechanism, every Cell will be painted in Column's Color, until Cell's dedicated Color property is changed.

This is a improvement from NextGrid version 5.x where changing Column's Color property require changing Color of every Cell manually (by using loop or similar).

See also