mobilepick more than one option at a time?

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

mobilepick more than one option at a time?

Post by Klaus »

Hi all,

is there a way to let the user pick more than one option in ONE "mobilepick"?
I do not want to show two or more pickwheels! If yes, how can this be done?
Or do I need to „roll my own“ with a listfield or a group or something?

Like providing a list of weekday names and the user can select more than one day at once.
Know what I mean?

Thanks in advance!


Best

Klaus
Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: mobilepick more than one option at a time?

Post by Mikey »

I thought iphonePick/mobilePick let you pick multiples. I don't remember if the checkbox array has to be set to multiples to begin with or not to enable that behavior.
I have taken to using Scott Rossi's tmControl2 for all my mobile controls. He has a couple of list controls that work well as pickers.
In a couple of specialized cases, I rolled my own pickers. There are some discussions on the How list with some code that will at least get you started.
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: mobilepick more than one option at a time?

Post by Klaus »

Hi Mikey,
Mikey wrote:I thought iphonePick/mobilePick let you pick multiples. I don't remember if the checkbox array has to be set to multiples to begin with or not to enable that behavior.
I have taken to using Scott Rossi's tmControl2 for all my mobile controls. He has a couple of list controls that work well as pickers.
In a couple of specialized cases, I rolled my own pickers. There are some discussions on the How list with some code that will at least get you started.
well, I started this discussion on the "How to use LC" list, but did not get any valuable hint so far...


Best

Klaus
Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: mobilepick more than one option at a time?

Post by Mikey »

I just saw your post a little bit ago. Let's do this over there.
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: mobilepick more than one option at a time?

Post by Klaus »

Okie Dokie! :D

Any hints on how to use "mobilepick" with multiple options with only one "pickwheel"
(this is for iPhone) are very appreciated!
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: mobilepick more than one option at a time?

Post by jacque »

You can supply more than one list to the pickwheel control and it will display multiple columns. If all the columns have the same content (days of the week, for example) it might be confusing for the user and a list with checkboxes might work better. But it is possible to have a muti-column picker though I don't know if there is a limit to the number of columns.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: mobilepick more than one option at a time?

Post by Klaus »

Hi Jaque,
jacque wrote:... and a list with checkboxes might work better.
yes, I was hoping something like this would be possible with "mobilepick",
but this is obviously not the case, or noone wants to tell me! 8)


Best

Klaus
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: mobilepick more than one option at a time?

Post by jacque »

Well, the pickwheel is just rotating columns so that's all you can do with it. I don't know of any other iOS control that offers a list view that you wouldn't have to create yourself.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
JereMiami
Posts: 127
Joined: Mon Nov 03, 2014 12:17 am

Re: mobilepick more than one option at a time?

Post by JereMiami »

I take it the answer to this was: No. You can only pick one selection.
Post Reply