[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControl.AutoSizeCanStart

AutoSizeCanStart - checks whether DoAutoSize is permitted to start

Declaration

Source position: controls.pp line 990

protected function TControl.AutoSizeCanStart: Boolean; virtual;

Description

AutoSizeCanStart - checks whether DoAutoSize is permitted to start

function TControl.AutoSizeCanStart: boolean;
  
  Returns true if DoAutoSize can start. That means, it tests the minimum
  requirements to start. Some controls need even more.

  It returns false if
  - AutoSize=false
  - or the control is currently autosizing
  - or the control is not visible
  - or the control is destroying