[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the default size for new instances of the class.
Source position: stdctrls.pp line 93
protected class function TCustomScrollBar.GetControlClassDefaultSize: TSize; override; |
TSize instance with the default width and height for the control.
GetControlClassDefaultSize is an overridden TSize class function used to get the default size for new instances of the class.
GetControlClassDefaultSize sets the values in members in the return value. The CX member contains the width for the new instance, and is set 121 (pixels). The CY member contains the height for the new instance, and is set to the number of pixels returned from GetSystemMetrics for the SM_CYHSCROLL constant.
|
Returns the default dimensions for new instances of the class. |
Version 4.0 | Generated 2025-05-03 | Home |