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

TCustomButton.Create

Create - constructor for TCustomButton: calls inherited Create then initialises style, colour, bounds, alignment and various other properties

Declaration

Source position: stdctrls.pp line 1110

public constructor TCustomButton.Create(

  TheOwner: TComponent

); override;

Description

If you drop a component on the form editor you don“t need to add code to explicitly create it. The component is automatically created together with the the form, and destroyed when the form is destroyed.

See also

TWinControl.Create

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