[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets the default value for the Color property.
Source position: grids.pas line 572
protected function TGridColumn.GetDefaultColor: TColor; virtual; |
Default value for the Color property in the grid column.
GetDefaultColor is a TColor function used to get the default value for the Color property in the grid column. The return value is set to the Color property in Grid, when it has been assigned. When Grid contains Nil, the value clWindow is used as the return value.
GetDefaultColor is called when reading the value for the Color property, and the property has not been assigned. It is also called when setting a new value in Color, and determines whether the property member is re-allocated for the new value.
|
Color used for the column. |
|
|
The Grid to which this column belongs. |
lazarus-ccr.sourceforge.net |