Class: cCJAboutMenuItem

Properties  Events  Methods    Index of Classes

A menu item which is used to invoke an about dialog in your program

Hierarchy

cObject
---DfComAutomationObject
------cComAutomationObject
---------cCJCommandBarAction
------------cCJAction
---------------cCJMenuItem
------------------cCJAboutMenuItem

Library: Windows Application Class Library

Package: cCJAboutMenuItem.pkg

Description

cCJAboutMenuItem is a menu item which is used to invoke an about dialog in your program. When executed it sends the Activate_About message to the ClientArea object. If the ClientArea object is not defined, no message is sent.

By default, the Activate_About message does nothing and it is expected that the developer will add their own message in their ClientArea to actually activate an about dialog

This class should only be used with cCJCommandBarSystem objects that are used as the main MDI commandbar system.

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

Object oHelpMenu is a cCJMenuItem
    Set peControlType to xtpControlPopup    
    Set psCaption to "&Help"
    Set psDescription to "Access Information for learning and using this DataFlex application."
    Set psToolTip to "Help"
    
    Object oHelpMenuItem is a cCJHelpMenuItem 
    End_Object

    Object oAboutMenuItem is a cCJAboutMenuItem
    End_Object

End_Object

See Also

cCJMenuItem | cCJHelpMenuItem