Vcl.Forms.TFormState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type TFormState = set of (fsCreating, fsVisible, fsShowing, fsModal, fsCreatedMDIChild, fsActivated);

C++

typedef System::Set<Vcl_Forms__6, Vcl_Forms__6::fsCreating, Vcl_Forms__6::fsActivated> TFormState;

Properties

Type Visibility Source Unit Parent
set
typedef
public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms Vcl.Forms

Description

TFormState describes the possible state of a form.

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.