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: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

mobilepick more than one option at a time?

Post by Klaus » Thu Jan 14, 2016 12:14 pm

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 » Thu Jan 14, 2016 2:39 pm

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: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: mobilepick more than one option at a time?

Post by Klaus » Thu Jan 14, 2016 2:54 pm

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 » Thu Jan 14, 2016 3:06 pm

I just saw your post a little bit ago. Let's do this over there.

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: mobilepick more than one option at a time?

Post by Klaus » Thu Jan 14, 2016 3:10 pm

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: 7227
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: mobilepick more than one option at a time?

Post by jacque » Thu Jan 14, 2016 6:03 pm

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: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: mobilepick more than one option at a time?

Post by Klaus » Thu Jan 14, 2016 6:21 pm

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: 7227
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: mobilepick more than one option at a time?

Post by jacque » Thu Jan 14, 2016 6:54 pm

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: 119
Joined: Mon Nov 03, 2014 12:17 am

Re: mobilepick more than one option at a time?

Post by JereMiami » Thu Feb 25, 2021 1:59 pm

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

Post Reply

Return to “iOS Deployment”