TCustomScrollBar.GetControlClassDefaultSize function
Gets the default size for new instances of the class.
Declaration
class function GetControlClassDefaultSize: TSize; overrideFunction result
TSize instance with the default width and height for the control.
Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
