[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Internal function to set the control's bounds (Left, Top, Height, Width).
Source position: controls.pp line 1259
protected procedure TControl.DoSetBounds( |
ALeft: Integer; |
ATop: Integer; |
AWidth: Integer; |
AHeight: Integer |
); virtual; |
DoSetBounds is a low level function 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 of the control, for example scroll bars. As always: do not paint here, but call Invalidate and paint in OnPaint or override Paint.
lazarus-ccr.sourceforge.net |