[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBCtrls' (#lcl)

TDBNavigator.Color

Contains the background color for the control.

Declaration

Source position: dbctrls.pp line 1472

published property TDBNavigator.Color : TColor
  default clBackground;

Description

Color is a TColor property with the background color for the control. The default value for the property is clBackground in TDBNavigator.

If the color is clDefault, the value will need to be resolved using the GetDefaultColor method. Convenience routines which obtain the color by resolving clDefault and ParentColor are also provided in TControl.GetColorResolvingParent and TControl.GetRGBColorResolvingParent.

See also

TCustomPanel.Color

  

Contains the background color for the panel.

TControl.ParentColor

  

Use the Color from the Parent control, when enabled.

TControl.GetDefaultColor

  

Get the default color for this widget, from Parent or color type.

TControl.GetColorResolvingParent

  

Returns the color of the control while resolving clDefault and ParentColor.

TControl.GetRGBColorResolvingParent

  

Returns a RGB value for the color of the control.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.