RAD Studio VCL Reference
TComponent.ComponentState Property

Describes the current state of the component, indicating when a component needs to avoid certain actions.

property ComponentState: TComponentState;
__property TComponentState ComponentState;

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!