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
iPhonePick, checkmark
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 111
- Joined: Sun Aug 23, 2009 7:48 am
- Contact:
Re: iPhonePick, checkmark
The second parameter to iPhonePick should set the selected item.
should do the trick i hope
Code: Select all
iPhonePick yourList, the number of this card
___________________________________
MacBook Pro M1 MAX 64 Gb,
LiveCode 10.0.1rc3
MacBook Pro M1 MAX 64 Gb,
LiveCode 10.0.1rc3
Re: iPhonePick, checkmark
Thanks hliljegren,
great - works fine on the iPhone but not on the iPad.
... Guera
great - works fine on the iPhone but not on the iPad.
... Guera
-
- Posts: 111
- Joined: Sun Aug 23, 2009 7:48 am
- Contact:
Re: iPhonePick, checkmark
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:
-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.
Code: Select all
iPhonePick yourList, word -1 of the short name of this card
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.
___________________________________
MacBook Pro M1 MAX 64 Gb,
LiveCode 10.0.1rc3
MacBook Pro M1 MAX 64 Gb,
LiveCode 10.0.1rc3
Re: iPhonePick, checkmark
Thanks a lot hliljegren!