Sign in Join
FPDoc Onlineexperiment

TCustomColorListBox.Create constructor

Member of TCustomColorListBoxpublicIn unit ColorBox

Constructor for the class instance.

Declaration

pascal
constructor Create(AOwner: TComponent); override

Description

Create is the overridden constructor for TCustomColorListBox. Create calls the inherited Create method, and sets the Style flags needed for the owner-drawn control. It also sets the default values for properties in the class instance, including:

  • ColorRectWidth
  • ColorRectOffset
  • Style
  • NoneColorColor
  • DefaultColorColor
  • Selected

Create calls SetColorList to load the colors needed for the control.

See also

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