Class: cCJPriorAreaMenu

Properties  Events  Methods    Index of Classes

A menu item which will navigate to the prior area within a view

Hierarchy

cObject
---DfComAutomationObject
------cComAutomationObject
---------cCJCommandBarAction
------------cCJAction
---------------cCJMenuItem
------------------cCJDeoMenuItem
---------------------cCJDEONavigateMenuItem
------------------------cCJPriorAreaMenu

Library: Windows Application Class Library

Package: cCJDeoMenuItemClasses.pkg

Description

cCJPriorAreaMenu is a menu item class, which lets you create a menu item which will navigate to the prior area within a view. When executed, OnExecute sends the message Switch_Prior_Area message to the focus object

If the focus object does not support this interface, this control will be disabled (see IsEnabled).

The pbActiveUpdate property is set true, which means that the object's enabled state will be updated dynamically.

An object based on this class can be added to any popup menu, toolbar or context menu.

Object oNavigateMenu is a cCJMenuItem
    Set peControlType to xtpControlPopup      
    Set psCaption to "&Navigate"    
    Set psTooltip to "Navigate"    
    Set psDescription to "Move to different areas of the application"
    
    Object oNextAreaMenu is a cCJNextAreaMenu
    End_Object
    
    Object oPriorAreaMenu is a cCJPriorAreaMenu
    End_Object
    
    Object oNextViewMenu is a cCJNextViewMenu
    End_Object
        
    Object oPriorViewMenu is a cCJPriorViewMenu
    End_Object
    
    Object oPromptMenu is a cCJPromptMenuItem
        Set pbControlBeginGroup to True
    End_Object

    Object oZoomMenu is a cCJZoomMenuItem
    End_Object

End_Object

See Also

cCJMenuItem | cCJNextAreaMenu | cCJNextViewMenu | cCJPriorViewMenu