BBjMenu::insertCheckableMenuItem
Description
In BBj 14.0 and higher, this method inserts a checkable menu item into a BBjMenu.
Syntax
Return Value |
Method |
insertCheckableMenuItem(int index, int ID, string title) |
|
insertCheckableMenuItem(int index, int ID, string title, boolean checked) |
Parameters
Variable |
Description |
index |
Specifies the 0-based index at which to insert the checkable menu item. |
ID |
Specifies the ID of the checkable menu item to be added. |
title |
Specifies the title of the checkable menu item. |
checked |
Specifies whether the checkable menu item is initially checked. |
Return Value
Returns the created BBjCheckableMenuItem object that was inserted into the menu.
Remarks
Each sub menu in the menu item 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.