BBjPopupMenu::insertMenu
Description
In BBj 3.0 and higher, this method inserts a submenu into a BBjMenu.
Syntax
Return Value |
Method |
insertMenu(int index, int ID, string title) |
Parameters
Variable |
Description |
index |
Specifies the 0-based index at which to insert the menu. |
ID |
Specifies the ID of the menu that will be added. |
title |
Specifies the title of the menu. |
Return Value
Returns the created BBjMenu object.
Remarks
Each sub menu in the popup menu with an index greater or equal to the specified index is shifted upward to have an index one greater than the value it had previously.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.