[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Determines if auto-sizing is possible, and if so, gets the new width and height when enabled.
Source position: controls.pp line 1398
protected function TControl.CanAutoSize( |
var NewWidth: Integer; |
var NewHeight: Integer |
):Boolean; virtual; |
NewWidth |
|
Suggested width, can be adjusted in an overridden version. |
NewHeight |
|
Suggested height, can be adjusted in an overridden version. |
TControl returns True.
Always returns True in TControl. The values in NewWidth and NewHeight are not updated in TControl. Override the method in descendent classes to return values as needed for the class type.
Version 3.2 | Generated 2024-02-25 | Home |