Syntax:
[void] MenuItem.remove(MenuItem childMenuItem)
Description:
Call the remove
method to remove a child menu item
and its children (if any) from the parent menu item.
Arguments:
childMenuItem
:
This is an instance of the MenuItem
object
which is being removed from the parent menu item. See also the menu.remove
method description for instructions on how to remove a menu item
from the top level of the options menu list.
Return value:
This method does not return a value.
Remarks:
To remove a menu item and its children from the top level of the options
menu list, use the menu
object's
method. See the menu.remove
method
description.
Example code:
See the example code in the description of the MenuItem.onSelect
property.