GefScreen.ObjectToEdit (property)

Allows access to the object specified in the DialogPopup's prarameter ObjectToEdit.
Syntax: Set GefObject = object.ObjectToEdit
object.ObjectToEdit = GefObject
Description: The GefObject that gets returned is the object on the parent screen that was specified in the GefApplication.DialogPopup, GefApplication.OpenEx, or the GefScreens.DialogPopup parameter ObjectToEdit.

Example:

Sub GefScreen_ObjectToEdit()
    
    Dim oCimObj As GefObject
    Set oCimObj = CimGetScreen.ObjectToEdit
    If Not oCimObj Is Nothing Then
        MsgBox "The object to edit on the parent screen is " & """" & oCimObj.Name & """"
    End If
    
End Sub
See Also: GefScreens.DialogPopup , GefApplication.DialogPopup , GefApplication.OpenEx , GefScreen.CloseEx