Show: Delphi C++
Display Preferences

Vcl.Controls.TWinControl.UpdateControlState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure UpdateControlState;

C++

void __fastcall UpdateControlState();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Respond to state change.

UpdateControlState is called automatically when any display change occurs that might affect the internal state of the control.

As implemented in TWinControl, UpdateControlState climbs the chain of parent controls to verify that each control in the chain has Showing equal to true. If this is the case, UpdateControlState makes sure that the Showing property is accurate for this control and for all its descendants. Descendant classes can extend this behavior.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance