Sign in Join
FPDoc Onlineexperiment

TTabControl.GetControlClassDefaultSize function

Member of TTabControlprotectedIn unit ComCtrls

Gets the default size for new instances of the class.

Declaration

pascal
class function GetControlClassDefaultSize: TSize; override

Function result

TSize instance with the dimensions for the new class instance.

Description

GetControlClassDefaultSize is an overridden TSize class function used to get the dimensions for a new instance of the TTabControl class. The return value contains the Width (CX) and Height (CY) for the class instance.

The default size in TTabControl is 200 pixels (width) by 150 pixels (height).

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