GefScreens.Open (method)

Opens an existing screen and returns the resulting GefScreen.
Syntax: Set GefScreen = object.Open ( FileName, Project, Visible )
FileName As String -
Optional Project As String -
Optional Visible As Boolean -
Description: The Project parameter is used as the project to qualify any unqualified points on the screen.

The Visible parameter determines whether the screen is initially visible.


Sub GefScreens_Open()
    Dim oCimScr As GefScreen
    Dim oCimScrs As GefScreens
    Set oCimScr = CimGetScreen
    Set oCimScrs = oCimScr.Parent
    oCimScrs.Open "SourceScr.Cim", , True
End Sub