[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Internal function used to set the bounds for the control (Left, Top, Height, Width).
Source position: controls.pp line 1395
protected procedure TControl.DoSetBounds( |
ALeft: Integer; |
ATop: Integer; |
AWidth: Integer; |
AHeight: Integer |
); virtual; |
ALeft |
|
Value applied to the Left member in the control. |
ATop |
|
Value applied to the Top member in the control. |
AWidth |
|
Value applied to the Width member in the control. |
AHeight |
|
Value applied to the Height member in the control. |
DoSetBounds is a low-level function used to set the private variables FLeft, FTop, FWidth, FHeight. Do not call this function; only the LCL calls it.
It also updates FClientWidth and FClientHeight accordingly.
Override this to update the content layout within the control, for example scroll bars. As always: do not paint here, but call Invalidate and paint using the OnPaint handler or an overridden Paint method.
Version 3.2 | Generated 2024-02-25 | Home |