[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the default size used for new instances of the class.
Source position: editbtn.pas line 89
protected class function TCustomEditButton.GetControlClassDefaultSize: TSize; override; |
TSize value with the dimensions for the new class instance.
The return value is a TSize type with the dimensions for the control. The CX member contains the width needed for both the Edit and the Button controls in the grouped edit control. The CY member contains the height used for the Edit and the Button controls.
GetControlClassDefaultSize is called in the constructor for the class instance, and used to set the initial bounds for the control.
|
Edit is the TEbEdit control used to perform direct input for the value in the grouped edit control. |
|
|
Button is the TSpeedButton that is attached to the grouped edit control. |
|
|
Create - constructor for TCustomEditButton: calls inherited Create then sets some defaults and initializes some variables. |
|
|
Sets the bounds of the control initially, when it is created. |