FormShowConstants

Modality values for the Modal argument of a form’s Show method.

Constant Value Description
vbModeless 0 The form is shown modeless: the calling code continues immediately and the user can interact with other windows in the application.
vbModal 1 The form is shown modal: the call does not return until the form is closed, and the user cannot interact with other windows in the application until then.