Show

This method displays a Form object.

Syntax

form.Show [style],[ownerform]

Parameters

form
Optional. Object expression that evaluates to a Form object. If omitted, the form executing the method is assumed to be object.
style
Optional. Integer that determines if a form is modal or modeless. If style is 0, the form is modal; if style is 1, the form is modeless.
ownerform
Optional. String expression that specifies the component which owns the form being shown.

Return Value

None.

Remarks

The startup form of an application is automatically shown after its Load event is invoked.