Gets the size used for new instance of the class type.
Source position: extctrls.pp line 1083
protected class function TCustomPanel.GetControlClassDefaultSize: TSize; override; |
TSize value with the default dimensions for new class instances.
GetControlClassDefaultSize is overridden to provide the default size for new instances of the class type. The return value is a TSize type which contains the dimensions for the new control. The CX member contains the Width for the panel, and defaults to 170 pixels. The CY member contains the Height for the panel, and defaults to 50 pixels.
|
Returns the default size for this class of controls (when added to a form). |