help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TComponent.ComponentState

Current component's state.

Declaration

Source position: classesh.inc line 1391

public property TComponent.ComponentState: TComponentState
  read FComponentState;

Description

ComponentState indicates the current state of the component. It is a set of flags which indicate the various stages in the lifetime of a component. The following values can occur in this set:

Component states
Flag Meaning
csLoading The component is being loaded from stream
csReading Component properties are being read from stream.
csWriting Component properties are weing written to stream.
csDestroying The component or one of it's owners is being destoyed.
csAncestor The component is being streamed as part of a frame
csUpdating The component is being updated
csFixups References to other components are being resolved
csFreeNotification The component has freenotifications.
csInline The component is being loaded as part of a frame
csDesignInstance ? not used.

The component state is set by various actions such as reading it from stream, destroying it etc.

See also

SetAncestor

  

Sets the csAncestor state of the component.

SetDesigning

  

Sets the csDesigning state of the component.

SetInline

SetDesignInstance

Updating

  

Sets the state to csUpdating

Updated

  

Ends the csUpdating state.

Loaded

  

Called when the component has finished loading.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505