[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Override this method when the ClientRect for a control differs from the default value.
Source position: controls.pp line 2165
protected procedure TWinControl.AdjustClientRect( |
var ARect: TRect |
); virtual; |
ARect |
|
The client rectangle examined and updated in the method. |
In TWinControl, the virtual method has an empty implementation. It can be overridden in descendent classes to perform actions needed for the class type. Such as:
AdjustClientRect can be called often, especially during auto-sizing and anchoring operations. Do not use expensive code here, or cache the resulting client rectangle for subsequent access.
|
Returns the adjusted logical ClientRect, using the cached value when available. |
Version 3.2 | Generated 2024-02-25 | Home |