org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-9FE7E588-7621-4067-9BEC-4F59855BB42F.html
author Eugene Ostroukhov <eugeneo@symbian.org>
Thu, 15 Jul 2010 10:08:51 -0700
changeset 450 ed815e0eef9a
parent 229 716254ccbcc0
permissions -rw-r--r--
Bug 3268 - Debugger does not start on Windows XP


<!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="onShow"/><meta name="DC.Relation" scheme="URI" content="GUID-AD589188-128C-4A48-B25C-BF0B4D9923C8"/><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-9FE7E588-7621-4067-9BEC-4F59855BB42F"/><title>onShow </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-9FE7E588-7621-4067-9BEC-4F59855BB42F">onShow</h1><div>
<p><strong>Description:</strong></p>
<p>The <code>onShow</code> property of the menu object is an event
handler for the event of when the options menu is open. In other words, when
the end user presses the left softkey, the system will fire an event and a
widget can catch the event by providing a callback function.</p>
<p>For more general information on using an options menu in your widget,
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-F876CF1C-0550-4A9B-AAE9-87A6B49AD912">[void] window.menu.onShow = function() { }</pre>
<p>or</p>
<pre class="codeblock" id="GUID-D1BC64AD-E267-4FBA-B232-1A1E3B7668E7">[void] menu.onShow = menupaneShown;
function menupaneShown()
{
  // ...
}</pre>
</div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>