org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-860D488F-98AA-4EF2-BDEC-8400A642CBD6.html
changeset 229 716254ccbcc0
--- /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 @@
+
+<!DOCTYPE html
+  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="copyright" content="(C) Copyright 2009"/><meta name="DC.rights.owner" content="(C) Copyright 2009"/><meta name="DC.Type" content="mobileconcept"/><meta name="DC.Title" content="getMenuItemById()"/><meta name="DC.Relation" scheme="URI" content="GUID-6359AD9D-2D02-4265-8B47-AF18713AB726"/><meta name="DC.Relation" scheme="URI" content="GUID-CE03834C-A275-458D-8FD3-086A472C28E2"/><meta name="DC.Relation" scheme="URI" content="GUID-7C69DDA4-16F1-4A8F-BDB2-4CB0015B4E81"/><meta name="DC.Relation" scheme="URI" content="GUID-857CF71D-3398-40C2-981A-DEC428A7BA6B"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-860D488F-98AA-4EF2-BDEC-8400A642CBD6"/><title>getMenuItemById() </title><script type="text/javascript">
+      function initPage() {}
+    </script><link href="../PRODUCT_PLUGIN/book.css" rel="stylesheet" type="text/css"/><link href="css/s60/style.css" rel="stylesheet" type="text/css" media="all"/></head><body onload="initPage();"><div class="body"><div class="contentLeft prTxt"><h1 class="pageHeading" id="GUID-860D488F-98AA-4EF2-BDEC-8400A642CBD6">getMenuItemById()</h1><div>
+<p><strong>Description:</strong></p>
+<p>Call the <code>getMenuItemById</code> method with a specified
+menu item's identifier to retrieve the handle of the menu item instance.</p>
+<p>For more general information on creating an options menu, see <a href="GUID-94946735-D23B-49C6-BB65-8BE31737AE42.html#GUID-94946735-D23B-49C6-BB65-8BE31737AE42">Using softkeys</a>.</p>
+<p><strong>Syntax:</strong></p>
+<pre class="codeblock" id="GUID-A4708EF6-BAC8-44D1-9163-23678E122A41">[<a href="GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D.html#GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D">MenuItem</a>] window.menu.getMenuItemById(Integer id) </pre>
+<p>or</p>
+<pre class="codeblock" id="GUID-E6C8C5CF-DD45-4F53-B73B-318EF5736605">[<a href="GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D.html#GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D">MenuItem</a>] menu.getMenuItemById(Integer id)</pre>
+<p><strong>Arguments:</strong></p>
+<ul>
+<li><p><code>id</code>:</p>
+
+<p>This is the identifier of an existing <a href="GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D.html#GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D">menu
+item</a> whose handle is being retrieved.</p>
+
+</li>
+</ul>
+<p><strong>Return value:</strong></p>
+<p>The returned value is an instance of the existing <a href="GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D.html#GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D"><code>MenuItem</code></a> object. If the id is invalid, the method returns "undefined".</p>
+<p><strong>Example code:</strong></p>
+<p>See the example code in the description of the <a href="GUID-A022ED1B-E618-4C44-A437-78393900599C.html#GUID-A022ED1B-E618-4C44-A437-78393900599C"><code>MenuItem.onSelect</code></a> property.</p>
+</div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>
\ No newline at end of file