WindowState Property
TOC
Collapse the table of content
Expand the table of content

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]

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)

Applies To: Form | _SCREEN

Community Additions

ADD
Show:
© 2016 Microsoft