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
MenuPick
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: MenuPick
Hi DB,
welcome to the forum!
The script is OK, tested and works here!?
Any more info you can provide?
Best
Klaus
welcome to the forum!
The script is OK, tested and works here!?
Any more info you can provide?
Best
Klaus
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".
Re: MenuPick
OK, this was weird. I saved and closed LiveCode, opened it back up and it worked. When in doubt, reboot.....
Re: MenuPick
EXACTLY!