Show Method

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

 [FormSet.]Object.Show([nStyle])

Parameters

nStyle

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

Value Description

1

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.

2

(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.

Expand imageRemarks

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic