<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>RE: Get Popup submenu name</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Thanks </FONT>
<BR><FONT SIZE=2>this works</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Jan Schenkel [<A HREF="mailto:janschenkel@yahoo.com">mailto:janschenkel@yahoo.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Wednesday, 13 November 2002 13:21</FONT>
<BR><FONT SIZE=2>To: use-revolution@lists.runrev.com</FONT>
<BR><FONT SIZE=2>Subject: Re: Get Popup submenu name</FONT>
</P>
<BR>

<P><FONT SIZE=2>--- JVTONGEL@janbe.jnj.com wrote:</FONT>
<BR><FONT SIZE=2>> Dear</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> yesterday evening I was trying to get the</FONT>
<BR><FONT SIZE=2>> value(or name) of a submenu of popup list.</FONT>
<BR><FONT SIZE=2>> let me explain it a litle bit</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I have a Popup menu which is named Platform</FONT>
<BR><FONT SIZE=2>>       when you klik on it you get a list of platforms</FONT>
<BR><FONT SIZE=2>>       f.e.  - PC</FONT>
<BR><FONT SIZE=2>>               - Linux</FONT>
<BR><FONT SIZE=2>>               - Macintosh</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> now when a user slects on of the items</FONT>
<BR><FONT SIZE=2>> I want to put this as a text i a Global or Local var</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> but i dont seem to find any function or command in</FONT>
<BR><FONT SIZE=2>> the dicionary</FONT>
<BR><FONT SIZE=2>> that does something like this</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> where am i going wrong?</FONT>
<BR><FONT SIZE=2>> </FONT>
</P>

<P><FONT SIZE=2>RR sends a 'menuPick' event upon selection of an item</FONT>
<BR><FONT SIZE=2>in a menu button, so I suggest you look it up in the</FONT>
<BR><FONT SIZE=2>Transcript language dictionary.</FONT>
</P>

<P><FONT SIZE=2>Set the script of your popup button to this:</FONT>
</P>

<P><FONT SIZE=2>on menuPick pWhichItem</FONT>
<BR><FONT SIZE=2>  global gSomeGlobal</FONT>
<BR><FONT SIZE=2>  put pWhichItem into gSomeGlobal</FONT>
<BR><FONT SIZE=2>end menuPick</FONT>
</P>

<P><FONT SIZE=2>If you want to know which item is currently selected,</FONT>
<BR><FONT SIZE=2>have a look at the 'menuHistory' property in the</FONT>
<BR><FONT SIZE=2>Trascript language dictionary.</FONT>
</P>

<P><FONT SIZE=2>Hope this helped,</FONT>
</P>

<P><FONT SIZE=2>Jan Schenkel.</FONT>
</P>

<P><FONT SIZE=2>=====</FONT>
<BR><FONT SIZE=2>"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)</FONT>
</P>

<P><FONT SIZE=2>__________________________________________________</FONT>
<BR><FONT SIZE=2>Do you Yahoo!?</FONT>
<BR><FONT SIZE=2>U2 on LAUNCH - Exclusive greatest hits videos</FONT>
<BR><FONT SIZE=2><A HREF="http://launch.yahoo.com/u2" TARGET="_blank">http://launch.yahoo.com/u2</A></FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>use-revolution mailing list</FONT>
<BR><FONT SIZE=2>use-revolution@lists.runrev.com</FONT>
<BR><FONT SIZE=2><A HREF="http://lists.runrev.com/mailman/listinfo/use-revolution" TARGET="_blank">http://lists.runrev.com/mailman/listinfo/use-revolution</A></FONT>
</P>

</BODY>
</HTML>