Search found 3 matches
- Sat Aug 22, 2020 10:44 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: MenuPick
- Replies: 4
- Views: 3528
Re: MenuPick
OK, this was weird. I saved and closed LiveCode, opened it back up and it worked. When in doubt, reboot.....
- Sat Aug 22, 2020 10:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: MenuPick
- Replies: 4
- Views: 3528
Re: MenuPick
I click on the "choose a variable" dropdown button, pick either menu item X or Y, and it does absolutely nothing. No answer, no value put into field "test".
- Sat Aug 22, 2020 9:33 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: MenuPick
- Replies: 4
- Views: 3528
MenuPick
I don't know what is wrong here, but I can't get this pulldown menu named "choose a variable" to do anything. Nothing in answerBox and nothing in field "test".
on menuPick pVariable
switch pVariable
case "X"
put "X" into fld "test"
break
case "Y"
answer "Y"
break
end switch
end menuPick
on menuPick pVariable
switch pVariable
case "X"
put "X" into fld "test"
break
case "Y"
answer "Y"
break
end switch
end menuPick