JavaScript Editor js editor     Web development 

Main Page

Displays a form and determines whether the form is modal or modeless.




Determines how a form is shown. The following values are valid:

Value Description


Modal. No user input (keyboard or mouse) can occur in any other form or in the menu until the modal form is hidden or released. The program must hide or release a modal form (usually in response to some user action) before further user input can occur. Although other forms in your application are disabled when a modal form is displayed, other applications are not.


(Default) Modeless. Code that occurs after the Show method is run as it is encountered.

If you omit nStyle, the form is shown in the style specified by the WindowType property.


Applies To: Form | FormSet | _SCREEN | ToolBar

The Show method sets a form or form set's Visible property to true (.T.) and makes the form the active object. If a form's Visible property is already set to true (.T.), the Show method makes it the active object.

If a form set is activated, the last active form in the form set also becomes active. If no form is active, the form that was added to the FormSet class definition first is made active.

Forms contained within a form set retain their Visible property setting. If a form's Visible property is set to false (.F.), the Show method for the form set does not show the form.

See Also

JavaScript Editor js editor     Web development