Classes.TComponent.ComponentState
From RAD Studio VCL Reference
Contents |
Delphi Information
From Classes.pas
property ComponentState: TComponentState read FComponentState;
Unit: Classes
Type: property
Visibility: public
Member Of: TComponent
C++ Information
From Classes.hpp
__property System::Set<Classes::Classes__45,0,10> ComponentState = {read=FComponentState};
Unit: Classes
Type: property
Visibility: public
Member Of: TComponent
Description
Describes the current state of the component, indicating when a component needs to avoid certain actions.
Components use the ComponentState property to detect states in which certain kinds of actions are allowed or disallowed. For example, if a component needs to avoid certain behaviors at design time that it performs at runtime, it can check for the csDesigning flag. ComponentState is read-only and its flags are set automatically when appropriate.