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

TWinControl.UpdateControlState

Updates the visible state for the control, and notifies the widgetset class when available.

Declaration

Source position: controls.pp line 2249

protected procedure TWinControl.UpdateControlState;

Description

Calls AdjustSize when the Handle has been allocated for the control and the control is logically visible in the client area for the parent. This causes DoAllAutoSize and UpdateShowing to be called. If the control is not visible, UpdateShowing is called to hide the control.

Called from the SetParentWindow method.



CT Web help

CodeTyphon Studio