
I am using the component "option menu."
I would like the list of choices (aka Menu Items) on the menu was passed from a variable and not manually entered. Surely it is a stupid question, like many others of my own, but I looked in the dictionary, then in the forum, then in lists.runrev.com, then in "lessons" of LC site..... but I could not find anything (or maybe I did not understand anything!).
LiveCodePigCode:
Code: Select all
put "Shery Goff|Evelyne Roan|Evelyne Roan|Josefine Villavicencio" into pItemName
on menuPick pItemName
switch pItemName
....
end switch
end menuPick
Mariasole
(='.'=)