Sign in Join
FPDoc Onlineexperiment

TCustomLabel.GetControlClassDefaultSize function

Member of TCustomLabelprotectedIn unit StdCtrls

Gets the size used for new instances of the class.

Declaration

pascal
class function GetControlClassDefaultSize: TSize; override

Function result

Size used for new instances of the class.

Description

GetControlClassDefaultSize is an overridden TSize class function used to get the height and width for new instances of the control. GetControlClassDefaultSize uses 65 pixels for the width, and 17 pixels for the height.

The return value is the TSize instance where the values are stored; the CX member is used for the width and the CY member is used for the height.

See also

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