User Tag List

Results 1 to 4 of 4

Thread: Popup menu improvement?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Popup menu improvement?

    I'm having a lot of problem with the popup menu object. There are conditions for Item Selected (ID) and Item Selected (Text), but no condition for Item Selected (Any).

    I'm in a single event using expressions to handle the ID (in other words, the same event handles a lot of different popup menu options), which would work fine if I could actually find out when the user selected an option.

    I first thought that the obvious solution was to check whenever the last menu ID changed, but that wouldn't detect if you selected the same menu option two times after each other. The other solution I tried was to create an alterable value named 'Previous ID' that I'd reset to 0 whenever I trigger the menu, and check if the new last menu ID is different to it, which would have worked if the last menu ID didn't carry the value of the previous menu selection if you cancel.

    I can't figure out a way to check when any menu option was selected (even if it's the same option repeatedly, and with the capability of understanding when you opened the menu but canceled and didn't select an option)

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    May 2007
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Popup menu improvement?

    Another great feature I'd love to see is images in popup menus like in the main menus.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator

    Join Date
    Jul 2006
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Popup menu improvement?

    Hey Nifflas, that's not so difficult. Use the following condition to detect any choice of the Popup Menu.

    Item GetSelectedItem( "Popup Menu" ) Selected

    (choose condition Item Selected (ID), then insert expression Get Last Selected Item)

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Popup menu improvement?

    That's clever! Thanks!

Similar Threads

  1. Popup Menu crashes my App...
    By GabSt in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 8th December 2008, 02:08 PM
  2. Popup menu bug?
    By Ran_TH in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 23rd September 2008, 09:11 AM
  3. popup menu to NOT pause app?
    By ClickerGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 31st October 2007, 05:19 PM
  4. re: popup menu...
    By TDA in forum Extension Development
    Replies: 2
    Last Post: 5th February 2007, 02:03 PM
  5. Popup menu
    By Sphax in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 7th August 2006, 10:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •