Title: RE: Get Popup submenu name

Thanks
this works

-----Original Message-----
From: Jan Schenkel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 13 November 2002 13:21
To: [EMAIL PROTECTED]
Subject: Re: Get Popup submenu name


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

RR sends a 'menuPick' event upon selection of an item
in a menu button, so I suggest you look it up in the
Transcript language dictionary.

Set the script of your popup button to this:

on menuPick pWhichItem
  global gSomeGlobal
  put pWhichItem into gSomeGlobal
end menuPick

If you want to know which item is currently selected,
have a look at the 'menuHistory' property in the
Trascript language dictionary.

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to