Hi, guys,
How can I call different commands based on what menu is selected in Pulldown Menu button. I know how to do it in RealBasic but I have not figured out how to do it in LiveCode.
Any help is very appreciated.
Val
Pulldown Menu button
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Pulldown Menu button
Welcome to LiveCode. I think this is what you're looking for.
Code: Select all
on menuPick mySelection
if MySelection = "this" then
--do this
else if mySelection = "that" then
--do something else
else
--otherwise do this
end if
end menuPick
Re: Pulldown Menu button
Townsend,
Thank you for the reply - it really helped.
Val
Thank you for the reply - it really helped.
Val