Try OpenEdge Now
skip to main content
Programming Interfaces
External Program Interfaces : Providing Help for OpenEdge Applications : Online help systems : Accessing online help from the menu bar
 
Accessing online help from the menu bar
A common method of requesting help from an application is by selecting help items from the application menu bar. The menu bar usually includes a help pull-down menu and contains menu items, such as:
*Help Topics — Instruct the help engine to display the HTML Help Viewer for the specified help file
*About or Version — Provide application copyright and version number information
The CHOOSE event occurs when a user chooses an option from a menu. In ABL, you use a CHOOSE event to code a trigger for menu items.
The following code example demonstrates a help trigger that executes when the user selects a menu item from the application's menu bar to access the help engine:
ON CHOOSE OF MENU-ITEM menu_help_contents DO:
  SYSTEM-HELP myhelp.chm CONTENTS.
END.
* Calling the Help Viewer
* Calling the Index function of the Help Viewer