Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TWinControl.AutoSizeDelayed

Returns True if auto-sizing has been delayed until some other process is completed.

Declaration

Source position: controls.pp line 2303

public function TWinControl.AutoSizeDelayed: Boolean; override;

Function result

True if auto-sizing cannot be performed at the current time.

Description

AutoSizeDelayed is an overridden Boolean function in TWinControl. It returns True when auto-sizing cannot or should not be performed at the current time, or when the value in Showing cannot be changed.

In TWinControl, it checks the ControlState flags for the value csDestroyingHandle when determining the return value for the method. AutoSizeDelayed calls the inherited method, and sets the return value to True if either condition is True.

The value from AutoSizeDelayed is used in methods like DoAllAutoSize and UpdateShowing.

See also

TWinControl.Showing

  

Cached visibility for the widget. Not necessarily in sync with the widget.

TWinControl.UpdateShowing

  

Updates the Showing property with the visibility for the control, its Parents, and its child controls.

TWinControl.DoAllAutoSize

  

Performs actions to resize and align the control and all of its children.

TControl.ControlState

  

Contains state flags which indicate whether the control has been clicked, data is being read, or the control is being re-drawn, etc.

TControl.AutoSizeDelayed

  

Returns True if auto-sizing has been delayed until some other process is complete.



CT Web help

CodeTyphon Studio