[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Forms' (#lcl)

# TFormStateType

TFormStateType - enumerated type to describe the state of a form; whether it is being created or destroyed, its visibility, whether Modal etc

## Declaration

Source position: forms.pp line 367

`type TFormStateType = (`
`fsCreating,` |  |
`fsVisible,` |  |
`fsShowing,` |  |
`fsModal,` |  |
`fsCreatedMDIChild,` |  |
`fsBorderStyleChanged,` |  |
`fsFormStyleChanged,` |  |
`fsFirstShow,` |  |
`fsDisableAutoSize` |  |
`);`

## Description

The valid states are:

    fsCreating,  // initializing (form streaming)
        fsVisible,   // form should be shown
        fsShowing,
        fsModal,     // form is modal
        fsCreatedMDIChild,
        fsBorderStyleChanged,
        fsFormStyleChanged,
        fsFirstShow,  // form is shown for the first time
        fsDisableAutoSize

The latest version of this document can be found at lazarus-ccr.sourceforge.net .