Page 1 of 1
iPhonePick, checkmark
Posted: Sun Feb 12, 2012 12:23 am
by conde
Can anybody help me. 5 items in the list of my iPhonePick (wheel). By selecting e.g. item 3, card 3 is shown. What can i do that in the pickwheel in card 3 the item of card 3 is hilited or checked (checkmarked)?
Guera
Re: iPhonePick, checkmark
Posted: Sun Feb 12, 2012 9:30 am
by hliljegren
The second parameter to iPhonePick should set the selected item.
Code: Select all
iPhonePick yourList, the number of this card
should do the trick i hope
Re: iPhonePick, checkmark
Posted: Sun Feb 12, 2012 12:13 pm
by conde
Thanks hliljegren,
great - works fine on the iPhone but not on the iPad.
... Guera
Re: iPhonePick, checkmark
Posted: Mon Feb 13, 2012 7:23 am
by hliljegren
Hmm strange! Works perfectly for me. Do you have your iPad cards in the same stack as the iPhone. I.e. they have higher current card number? If that is the case I suggest you name your cards like "iPhone 1, iPhone 2, ... iPad 1, iPad 2" or something like that then you can instead of the number of this card use:
Code: Select all
iPhonePick yourList, word -1 of the short name of this card
-1 = the last word
If it is the names of the cards you are displaying and don't wan't them to have names as above you can use a custom property, a hidden field, an local / global variable or some other method to remember "your" card number.
Re: iPhonePick, checkmark
Posted: Mon Feb 13, 2012 10:36 am
by conde
Thanks a lot hliljegren!