Close

<< Click to Display Table of Contents >>

 

Close

Close(Code)

Use this method to close a Screen. This method generates the OnHide event before being performed. The Code parameter contains the value returned by the DoModal method, if that Screen is called by this method. The next script contains an example of using this method.

Sub CloseButton_Click()
  ' When clicking CloseButton, closes this window
  Screen.Close(0)
End Sub

Was this page useful?