TControl.SetBoundsKeepBase procedure
Set the bounds, keeping the base values.
Declaration
procedure SetBoundsKeepBase(aLeft: Integer; aTop: Integer;
aWidth: Integer; aHeight: Integer); virtualDescription
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:
- WMSize
- WMMove
- WMWindowPosChanged
- DoAutoSize
- DoAutoAdjustLayout
- DoUndock
- Loaded
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
