[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Applies the specified bounds to the control.
Source position: comctrls.pp line 1980
protected procedure TCustomUpDown.DoSetBounds( |
ALeft: Integer; |
ATop: Integer; |
AWidth: Integer; |
AHeight: Integer |
); override; |
ALeft |
|
New value for the Left property in the control. |
ATop |
|
New value for the Top property in the control. |
AWidth |
|
New value for the Width property in the control. |
AHeight |
|
New value for the Height property in the control. |
DoSetBounds is an overridden method in TCustomUpDown. It calls the inherited method on entry to apply the origin and size arguments to the bounds and client rectangle for the control.
If a handle has not been allocated for the widgetset class, the value in Orientation is used to update the size and position of the increment and decrement speed buttons on the control. Each speed button uses a rectangular shape proportional to the Width or Height for the control. The SetBounds method in the speed buttons is called to apply the calculated origin and size for each.
|
Indicates the horizontal or vertical orientation for the button(s) displayed on the control. |
|
|
Indicates the orientation for the arrows on a TUpDown control. |
|
|
Updates the size and extent of the control as well as its ClientRect. |
|
|
The width of the client area for the control. |
|
|
Sets the bounds (Left, Top, Width, Height) of the control. |
Version 4.0 | Generated 2025-05-03 | Home |