摘要 |
A method is provided for acting on a selected menu item. The menu items are defined so as to have associated with them a label, a launch type, and a parameter. Depending on the launch type of a selected menu item, different actions are taken and the parameter is used in different ways. If the launch type indicates that a list or a form is to be presented upon selection of a menu item, then the parameter is passed as an input to a list or form subsystem. If the launch type indicates that an action specific to the selected menu item is to be performed, then a pre-defined function within an object representing the entity indicated by the selected menu item is called, the name of the pre-defined function being determined from the value of the parameter. The method of defining and acting on menu items allows both common functions and functions specific to a menu item to be associated with menu items.
|