GefEventContext (object)

Gets the triggered event.
Description: receives the information on the triggered event.

Example:

Sub GefEventContext_TriggerObject()
    
    Dim oCimEvntContext As GefEventContext
    Dim oCimObj As GefObject
    
    Set oCimEvntContext = CimGetEventContext
    Set oCimObj = oCimEvntContext.TriggerObject
    MsgBox "The trigger object is " & oCimObj.Name
    
End Sub
Properties: Application , CloseReason , ContextMenu , HighlightReason , OleParmsCount , Parent , TriggerObject , Type , UserParameter
Methods: GetMouseEvent , GetOleParm , GetOleParmName