RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Forms.TFormState Type

TFormState describes the possible state of a form.

Pascal
TFormState = set of (fsCreating, fsVisible, fsShowing, fsModal, fsCreatedMDIChild, fsActivated);
C++
(fsCreating, fsVisible, fsShowing, fsModal, fsCreatedMDIChild, fsActivated) TFormState;

The following table lists the values that can be included in a form's state:

Value 
Meaning 
fsCreating  
The form's constructor is currently executing.  
fsVisible  
The form's window is visible. This state is used to update the Visible property.  
fsShowing  
The form's WindowState property is changing. This state is used to prevent WindowState changes from interfering with a transition that is in progress.  
fsModal  
The form was created as a modal window.  
fsActivated  
The form has received focus or the application became active but has not yet called the Activate method to generate an OnActivate event.  

 

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