Sign in Join
FPDoc Onlineexperiment

TBevel.Create constructor

Member of TBevelpublicIn unit ExtCtrls

Constructor for the class instance.

Declaration

pascal
constructor Create(AOwner: TComponent); override

Arguments

AOwner

Owner of the class instance.

Description

Create is the overridden constructor for TBevel. Create calls the inherited Create method, and sets the initial values used in the ControlStyle, Style, Shape, and Bounds properties.

ControlStyle
Removes csSetCaption and csOpaque from existing values in ControlStyle.
Style
Set to the value bsLowered.
Shape
Set to the value bsBox.
Bounds
Calls SetInitialBounds to store the values from GetControlClassDefaultSize in Bounds.

See also

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