GefScreen.ContextMenuEnabled (property)

Gets and sets if the context menu is enabled.
Syntax: Boolean = object.ContextMenuEnabled
object.ContextMenuEnabled = Boolean
Description: The ContextMenuEnabled property gets and sets if the context menu is enabled. When the context menu is enabled it will be displayed when the context mouse button is pressed (typicaly the right mouse button). If it is not enabled no menu is displayed when the context mouse button is pressed. In CimEdit this property has no affect. Sub GefScreen_ContextMenuEnabled()
    
    Dim oCimScr As GefScreen
    Set oCimScr = CimGetScreen
    oCimScr.ContextMenuEnabled = False
    
End Sub