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

TControl.Create

Create - constructor for TControl and derived classes: calls inherited Create and sets a number of defaults

Declaration

Source position: controls.pp line 1308

public constructor TControl.Create(

  TheOwner: TComponent

); override;

Description

Create a new Control - Constructor. Overrides constructors of ancestor classes and sets a number of defaults. Often overridden by descendant classes.

Defaults set by the Constructor include ControlStyle, Constraints, BorderSpacing, Anchoring, alignment, CaptureMouseBottons, Color, Visibility, Hinting, Cursor, Font, The WindowProcedure to be used, the Help type, the FloatingDockSite and Enabled properties

See also

TComponent.Create

TLCLComponent.Create

  

Create - constructor for TLCLComponent: calls inherited Create

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