BBjPopupMenu::addMenuItem
Description
In BBj 3.00 and higher, this method adds a menu item to a BBjPopupMenu.
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) |
|
|
addMenuItem(int ID, string title, boolean checkable, boolean checked, int action) |
Parameters
|
Variable |
Description |
|
ID |
Specifies the ID of the menu 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 |
Specifies whether the menu item is checkable. |
|
checked |
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.