Hi.
the "menuHistory" will return the selected line. The menuItems in a manu are just a return delimited list of text. So your menu choices, usually set up in a switch construction in your menuPick handler, can load the menu as required. Write back if this does not work the first time you try it. Craig Newman -----Original Message----- From: Peter Bogdanoff <bogdan...@me.com> To: How to use LiveCode <use-livecode@lists.runrev.com> Sent: Tue, Feb 19, 2013 7:21 pm Subject: menuPick Hi, I have a menu that I'm creating the text for dynamically. So, on menuPick I want to do something based on the menu item chosen. However, it will vary all the time. Can I get the number of the line of the menu that was chosen? How do I handle dynamically-generated menu items? Peter Bogdanoff UCLA _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode