Class: cCJNextViewMenu

Properties  Events  Methods    Index of Classes

A menu item which will navigate to the next view in the MDI list

Hierarchy

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

Library: Windows Application Class Library

Package: cCJDeoMenuItemClasses.pkg

Description

cCJNextViewMenu is a menu item class, which lets you create a menu item which will navigate to the next view in the MDI list. When executed, OnExecute sends the message Switch_Next_View message to the ClientArea 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

cCJPriorViewMenu | cCJNextAreaMenu | cCJPriorAreaMenu