Window.Close (gb.qt4)

Function Close ( [ Return As Integer ] ) As Boolean

Closes the window, and returns an optional integer value used by the ShowModal method.

If the window is not persistent (which is by default), then the window is destroyed after the Close() method is called. This means that any control contained in the Window is also destroyed, and the window object itself becomes invalid.

See also