diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-6359AD9D-2D02-4265-8B47-AF18713AB726.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-6359AD9D-2D02-4265-8B47-AF18713AB726.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,28 @@ + + +
Description:
+Call the getMenuItemByName
method with a specified
+menu item's label 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.getMenuItemByName(String menuItemLabel)+
or
+[MenuItem] menu.getMenuItemByName(String menuItemLabel)+
Arguments:
+menuItemLabel
:
This is the label 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 label is invalid, the method returns "undefined".
Example code:
+See the example code in the description of the MenuItem.onSelect
property.