Library Vcl NextSuite 6 NextGrid6 Reference Classes TNxCell6 ParentColor

ParentColor

Specifies whether cell will be painted with Column's color instead with Color from Color property.

pas
property ParentColor: Boolean read GetParentColor write SetParentColor;

Remarks

Default value for this property is True. When Color property is changed, this property is set to False.

alt text

Example

Add Report View and one textual Column. Inside OnCreate of Form write:

pas
NextGrid61.AddRow(10);
NextGrid61.Cell[0, 2].Color := clLime;
NxTextColumn61.Color := clRed;

In this example only cell with row index 2 will be painted different than other cells in same column.

Sign in