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

TControl.Color

Determine the colour for the current control

Declaration

Source position: controls.pp line 1374

public property TControl.Color: TColor
  read FColor
  write SetColor
  stored ColorIsStored
  default clWindow;

Description

// standard properties, which should be supported by all descendants

Reads the value for colour, or stores the value, and sets a flag if the colour is stored.

The default colour is the same as the window in which the control is located.

See also

#lcl.Graphics.TColor