Hide

Hides a Form object but does not unload it.

Syntax

object.Hide

The object placeholder represents an object expression that evaluates to an object. If object is omitted, the form with the focus is assumed to be object.

Remarks

When a form is hidden, it is removed from the screen and its Visible property is set to False. A hidden form's controls are not accessible to the user and is available to the Timer control events.

When a form is hidden, the user cannot interact with the application until all code in the event procedure that caused the form to be hidden has finished executing.

If the form is not loaded when the Hide method is invoked, the Hide method loads the form but does not display it.