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

TControlCanvas.GetDefaultColor

Gets the color value used for clDefault.

Declaration

Source position: controls.pp line 311

protected function TControlCanvas.GetDefaultColor(

  const ADefaultColorType: TDefaultColorType

):TColor; override;

Description

GetDefaultColor is overridden in TControlCanvas to ensure that the Control is used (when assigned) to retrieve the default color. If Control is not assigned, the inherited method is called to get the default color value.

See also

TControlCanvas.Control

  

The Control object for which the Canvas is used.

TCanvas.GetDefaultColor

  

Gets the default color value for the canvas.

TControl.GetDefaultColor

  

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

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