Compartir a través de


WindowState Property (Visual FoxPro)

Specifies whether a form window is displayed as a maximized, minimized, or normal window at run time. Available at design time and run time.

 [Object.]WindowState[ = nState]

Return Value

  • nState
    The settings for the WindowState property are as follows:

    Setting

    Description

    0

    Normal

    1

    Minimized (minimized to an icon). If the main Visual FoxPro window is minimized when you exit Visual FoxPro, the main Visual FoxPro window will not display before exiting. If your application displays a dialog before exiting, be sure to set _SCREEN.WindowState to 0 before displaying the dialog.

    2

    Maximized (enlarged to fill the screen)

Remarks

Applies To: Form | _SCREEN

See Also

Reference

Height Property

Left Property (Visual FoxPro)

Top Property (Visual FoxPro)

Width Property

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)