GefScreens.Close (method)

Closes a screen or screens.
Syntax: object.Close SaveChanges, ScreenName, Project
Optional SaveChanges As GefSaveChangesEnum -
Optional ScreenName As String -
Optional Project As String -
Description: For GefScreens, closes the specified GefScreen. If the ScreenName parameter is omitted, closes all screens.


Sub GefScreens_Close()
    Dim oCimScr As GefScreen
    Dim oCimScrs As GefScreens
    Set oCimScr = CimGetScreen
    Set oCimScrs = oCimScr.Parent
    oCimScrs.Close gefSaveChangesPrompt, CimGetScreen.Name
End Sub