Sign in Join
FPDoc Onlineexperiment

TDBGrid.Color property

Member of TDBGridpublishedIn unit DBGrids

The background color for the control.

Declaration

pascal
property Color:;

Description

The default value in Color is the same as the value in the parent window Color. If the color is clDefault, the result will need to be passed through GetDefaultColor to resolve clDefault. Convenience routines which obtain the color by resolving clDefault and ParentColor are also provided as TControl.GetColorResolvingParent and TControl.GetRGBColorResolvingParent.

For the macOS Carbon widgetset, setting Color to clBtnFace causes the background for the control to become transparent.

This description is the one of Controls.TControl.Color.

See also

  • ParentColor
  • GetDefaultColor
  • GetColorResolvingParent
  • GetRGBColorResolvingParent
  • TColor

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.