diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-860D488F-98AA-4EF2-BDEC-8400A642CBD6.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-860D488F-98AA-4EF2-BDEC-8400A642CBD6.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,28 @@ + + +
Description:
+Call the getMenuItemById
method with a specified
+menu item's identifier to retrieve the handle of the menu item instance.
For more general information on creating an options menu, see Using softkeys.
+Syntax:
+[MenuItem] window.menu.getMenuItemById(Integer id)+
or
+[MenuItem] menu.getMenuItemById(Integer id)+
Arguments:
+id
:
This is the identifier of an existing menu +item whose handle is being retrieved.
+ +Return value:
+The returned value is an instance of the existing MenuItem
object. If the id is invalid, the method returns "undefined".
Example code:
+See the example code in the description of the MenuItem.onSelect
property.