Close

<< Click to Display Table of Contents >>

 

Close

Close(Code)

Use the Close 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. Example:

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

Was this page useful?