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

# TFormStateType

Form state flags.

## Declaration

Source position: forms.pp line 471

`type TFormStateType = (`
`fsCreating,` |  | initializing (form streaming).
`fsVisible,` |  | form should be shown.
`fsShowing,` |  | form handling WM_SHOWWINDOW message.
`fsModal,` |  | form is modal.
`fsCreatedMDIChild,` |  | not yet implemented.
`fsBorderStyleChanged,` |  | border style changed before window handle creation.
`fsFormStyleChanged,` |  | form style is changed before window handle creation.
`fsFirstShow,` |  | form is shown for the first time.
`fsDisableAutoSize` |  | disable auto-size.
`);`

## Description

The form states are:

fsCreating
  initializing (form streaming)
fsVisible
  form should be shown
fsShowing
  form handling WM_SHOWWINDOW message
fsModal
  form is modal
fsCreatedMDIChild
  not yet implemented
fsBorderStyleChanged
  border style changed before window handle creation
fsFormStyleChanged
  form style is changed before window handle creation
fsFirstShow
  form is shown for the first time
fsDisableAutoSize
  disable auto-size