diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-E869B263-7EBF-4590-890B-563871C438C6.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-E869B263-7EBF-4590-890B-563871C438C6.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,33 @@ + + +remove()

remove()

+

Description:

+

Call the remove method to remove a child menu item +and its children (if any) from the parent menu item.

+

Syntax:

+
[void] MenuItem.remove(MenuItem childMenuItem) 
+

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.

+

For more general information on using an options menu in your widget, +see Using softkeys.

+

Example code:

+

See the example code in the description of the MenuItem.onSelect property.

+
\ No newline at end of file