On 6/4/06 1:01 PM, "dreamscapesoftware.com - List"
<[EMAIL PROTECTED]> wrote:

> 
> Anyone have any idea on how to get a multi-item menu that sends a message back
> for each item?  Thanks

Yes. Here's an example:

-- Set up the menu
on mouseUp
  set the icon to 200937  -- just pick an img to use
  set the iconMenu to "New|DoNew"&cr&"Open|DoOpen"&cr&"Close|DoClose"
end mouseUp

-- Trap the menuItem choices (card/stack script)
on iconMenuPick pChoice
  switch pChoice
  case "DoNew"
    -- handle "New" choice
    break
  case "DoOpen"
    -- handle "Open" choice
    break
  case "DoClose"
    -- handle "Close" choice
    break
  end switch
end iconMenuPick

Note BTW that I haven't gotten this to work reliably in the Rev IDE, but
YMMV.

HTH,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to