option menu / modal pickwheel

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bdtrauma
Posts: 34
Joined: Fri Dec 24, 2010 11:37 pm

option menu / modal pickwheel

Post by bdtrauma » Wed Jan 12, 2011 5:14 am

I know 4.5.3 just came out today, but has anyone been able to get the pickwheel to come up on an ipad... looks like it is supported... I just can't get it to come up.

Bert

RickD
Posts: 31
Joined: Thu Feb 11, 2010 5:47 pm

Re: option menu / modal pickwheel

Post by RickD » Wed Jan 12, 2011 6:16 am

Hi bdtrauma:

Just make sure the initialIndex is an integer. I was setting the initialIndex to the text value and the pick-wheel would not come up. Once I set the initialIndex to the line number I wanted to set as default, everything started working. On another note, don't forget that the initialIndex begins with 1 not 0.

Hope this helps.

bdtrauma
Posts: 34
Joined: Fri Dec 24, 2010 11:37 pm

Re: option menu / modal pickwheel

Post by bdtrauma » Wed Jan 12, 2011 11:23 pm

Rick,

I did it as you said and when I hit the button on my ipad nothing happens.

put "one" & cr & "two" & cr & "three" & cr & "four" into optionList
iphonePick optionList, 1
put the result into field "Offsets"

just a simple little script... any thoughts?

ipad system is 4.2.1 and using 4.5.3 livecode.

Not sure what is happening... ?

Thanks,

Bert

RickD
Posts: 31
Joined: Thu Feb 11, 2010 5:47 pm

Re: option menu / modal pickwheel

Post by RickD » Fri Jan 14, 2011 4:45 am

bdtrauma:

I don't have an physixal ipad to test with, but I just cut your code and pasted it into a new stack and it works under the ipad and iphone simulators and on a real iphone.
However, I posted a bug report yesterday with the development team because the Pick-Wheel control breaks an app I am currently working with, and I can reproduce the error. So I don't know if you are also experiencing the same issues with the Pick-Wheel control as I am in my app.

bdtrauma
Posts: 34
Joined: Fri Dec 24, 2010 11:37 pm

Re: option menu / modal pickwheel

Post by bdtrauma » Fri Jan 14, 2011 8:04 am

Rick,

Yeah I can get it to work fine in the simulator iphone and ipad, but when I connect my iPad and transfer the app to it there is no response when I try to bring up the optionList. I think it doesn't work quite yet.

Bert

RickD
Posts: 31
Joined: Thu Feb 11, 2010 5:47 pm

Re: option menu / modal pickwheel

Post by RickD » Fri Jan 14, 2011 6:07 pm

Bert:

I got confirmation from the dev team that the Pick-Wheel indeed has a bug in 4.5.3 which is being fixed for the next release.

Cheers

bdtrauma
Posts: 34
Joined: Fri Dec 24, 2010 11:37 pm

Re: option menu / modal pickwheel

Post by bdtrauma » Fri Jan 14, 2011 6:37 pm

thanks... I'm learning to be patient with these version updates and work within what we have working.

Bert

Post Reply

Return to “iOS Deployment”