option menu on iPad

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
robjr
Posts: 3
Joined: Sat Mar 24, 2012 1:13 am

option menu on iPad

Post by robjr » Sat Mar 24, 2012 3:46 am

I'm using 5.5 and the option menu doesn't seem to work on the iPad. I'm using the following code as the button script:

on menuPick theItem
switch theItem
case "Topic1"
go to card 5
break
case "Topic2"
go to card 6
break
case "Topic3"
go to card 7
break
end switch
end menuPick

where "Topicx" is the item in the menu item list

Any ideas? Works fine in LiveCode. The picker comes up fine on the iPad, just doesn't do anything :(

FireWorx
Posts: 362
Joined: Wed Sep 07, 2011 9:39 pm

Re: option menu on iPad

Post by FireWorx » Sun Mar 25, 2012 12:10 am

I tend to group several buttons and then select the" highlite one button at a time" mode in the group prop inspector and use either the hilitedbuttonname property or use the iphonecontoltarget (?) or I think the get menuhistory of me (and me refeingr to the group holding the buttons) may also work. Not sure your script works on IOS or not? Look it up in the dictionary and look for the IOS stamp to see if its copesetic.

Hope in some way this helps

DAve

Post Reply