GefScreen.CreateRuntimeOnlyScreen (method)

Creates a runtime-only screen file from the current screen.
Syntax: Boolean = object.CreateRuntimeOnlyScreen ( SaveChanges )
Parameters:
Optional SaveChanges As GefSaveChangesEnum - Indicates whether or not the editable screen should be saved before creating the runtime-only screen. The default is gefSaveChangesYes.
Description: Saves a copy of the screen as a runtime-only screen file.

The SaveChanges parameter has values of gefSaveChangesYes, gefSaveChangesNo, gefSaveChangesPrompt. If gefSaveChangesPrompt is specified there will only be a prompt if the editable screen has been modified and needs to be saved.

Example:

Sub GefScreen_CreateRunTimeOnlyScreen()
    
    Dim oCimScr As GefScreen
    Set oCimScr = CimGetScreen
    If oCimScr.CreateRuntimeOnlyScreen(gefSaveChangesNo) = True Then
        MsgBox "Run Time Screen Created"
    End If
    
End Sub
See Also: GefScreen.RuntimeOnly