Sign in Join
FPDoc Onlineexperiment

TCustomFrame.GetControlClassDefaultSize function

Member of TCustomFramepublicIn unit Forms

Gets the default dimensions for a new instance of the class.

Declaration

pascal
class function GetControlClassDefaultSize: TSize; override

Function result

TSize type with the width and height for the new class instance.

Description

GetControlClassDefaultSize is an overridden method in TCustomFrame, and does not call the inherited method. The return value is a TSize instance with the width and height for the new class instance in its X and Y members. The default dimensions in TCustomFrame are 320 pixels wide (X member) by 240 pixels tall (Y member).

See also

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