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

# TCustomForm.AutoSizeDelayedHandle

Returns True if an auto-size action should be skipped when a form handle is not available.

## Declaration

Source position: forms.pp line 723

`public function TCustomForm.AutoSizeDelayedHandle: Boolean; override;`

## Function result

True if an auto-size action should be skipped when a form handle is not available.

## Description

AutoSizeDelayedHandle is an overridden Boolean function used to determine if an AutoSize action must be deferred due to a missing form Handle.

When either Parent or ParentWindow has been assigned, the form is treated like a TWinControl; the return value is set to the value from the inherited method.

If one of the values is unassigned, the return value is always set to False. The form has its own handle, and the resize action does not need to be delayed.

Called from the AutoSizeDelayed method in an ancestor class.