first i have noticed if you click away from the pickwheel it will select whatever object is focused. is this a bug or is this correct cause that kinda sucks? also i have made this work by adding a cancel option to the pickwheel. The problem her is when i tell when i say
put "Cancel" after the last item item of card button "thepicker"
but i can't set the focus to the last item. still the weird alien symbols with this as well. any workaround suggestions for these problems would be much appreciated.
"There are two modes of operation of the pick command, depending on the value of initialIndex. If initialIndex is non-zero, the operation will act as a means to change an existing selection. The item specified by the initial index will be hilited (checked or hilited on iPad), and will be returned by default in the case the user does not choose a new item.
If initialIndex is zero, the operation will act as a means to select from a list of options. The user will be able to cancel the operation by either clicking 'Cancel' (iPhone) or touching outside of the popover (iPad). If the operation is cancelled, 0 will be returned; otherwise the selected item will be
returned."
then why is it putting weird symbols after the cancel when i run it on ios device? that is not mentioned in what you said.
also where do you find that documentation?
yea i have pickwheel working fine. the only issue i'm having is that when i try to load the pickwheel programmatically it puts extra characters into "Cancel" which is after the last item of the pickwheel. when i select cancel and the extra characters on ios. it still accepts it as cancel but it just doesn't make the interface as clean as i like it to be. it only does this when i run it on ios device? and thanks for the docs
note: i am doing this on the ipad which doesn't make a difference.
i can only post part of the code for confidentiality reasons. but i can assure you none of the information after cancel is being entered anywhere in code. i spent hours checking the other day i have just come back around to this issue.
Well, you're probably right... your secret would not be safe with me but for me anyway, it is not possible to give you any suggestions based on that one line of code... your on your own.
well here is a sample application that does the same thing follow the instructions exactly as it says and you will see what i mean. it did not mess up the first time i ran this program but it messed up the second time?
Last edited by kcwvc52 on Sat Jun 18, 2011 8:20 am, edited 1 time in total.
It does not seem to like the word 'Cancel'... I have changed the script in button 1 of your stack... Instead of using 'Cancel', I have substituted it with 'Cancel '... notice the addition of the space... it is working here..
seems like i have tried this and it didn't work. i know for sure i tried using "Cancel!" and it still put random characters after it. i can't remember if i tried the space.