BBjMenu::addMenuItem
Description
Adds a menu item to the BBjMenu.
Syntax
Return Value |
Method |
---|---|
addMenuItem(int ID, string title) |
|
addMenuItem(int ID, string title, int action) |
|
addMenuItem(int ID, string title, boolean checkable, boolean checked) |
|
BBjMenuItem |
addMenuItem(int ID, string title, boolean checkable, boolean checked, int action) |
Parameters
Variable |
Description |
---|---|
ID |
Specifies the ID of the menu item to be added. |
title |
Specifies the title of the menu item. |
action |
Specifies one of the following special menu actions: 32027 CUT 32028 COPY 32029 PASTE |
checkable |
A boolean that specifies whether the menu item is checkable. |
checked |
A boolean value that specifies whether the menu item is checked if it is checkable. |
Return Value
Returns the created BBjMenuItem object.
Remarks
None.
Example
|
See Also
Keyboard Focus, Keyboard Navigation, and the Default Button
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.