[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Set the bounds, keeping the base values.
Source position: controls.pp line 1669
public procedure TControl.SetBoundsKeepBase( |
aLeft: Integer; |
aTop: Integer; |
aWidth: Integer; |
aHeight: Integer |
); virtual; |
aLeft |
|
New Left coordinate for the control. |
aTop |
|
New Right coordinate for the control. |
aWidth |
|
New Width for the control. |
aHeight |
|
New Height for the control. |
SetBoundsKeepBase is a procedure used to set the bounds for a Control to the specified values without affecting the bounds in a Parent control.
SetBoundsKeepBase calls the ChangeBounds method to update the sized and position for the control to the specified values. If you use this in a custom control, disable LCL auto-sizing for this control prior to calling the method.
SetBoundsKeepBase is used in the implementation for several methods, including:
|
Message handler for changed control size. |
|
|
Message handler for control move events. |
|
|
For internal use only; call AdjustSize instead. |
|
|
Applies layout changes using the specified policy and scaling proportions to the control. |
|
|
Event handler for size/move messages. |
|
|
Notifies an OnUnDock handler and the DockManager of an undocked client control. |
|
|
Performs actions needed when LCL component streaming has been completed. |
Version 3.2 | Generated 2024-02-25 | Home |