Page 1 of 1
Select an item from mobile "Scroller"? - Solved
Posted: Fri Feb 10, 2017 2:27 am
by DR White
I am working on an application where I would like the possible items from an auto-fill field to appear in a "scroller".
Is it possible to do this with LC?
Thanks,
David
Re: Is it possible to select an item from mobile "Scroller"?
Posted: Fri Feb 10, 2017 1:00 pm
by Klaus
Hi David,
you mean something like a "list" field?
Yes, sure this is possible!
Best
Klaus
Re: Is it possible to select an item from mobile "Scroller"?
Posted: Fri Feb 10, 2017 1:18 pm
by DR White
Yes, like a list field that behavior of a mobile scroller.
Re: Is it possible to select an item from mobile "Scroller"?
Posted: Fri Feb 10, 2017 1:48 pm
by Klaus
Hi David,
OK, to get started, take a look at this lesson:
http://lessons.livecode.com/m/4069/l/94 ... ll-a-field
Best
Klaus
Re: Is it possible to select an item from mobile "Scroller"?
Posted: Fri Feb 10, 2017 1:57 pm
by DR White
Yes, I did that but I was not able to to put an item from scroller into another list
Re: Is it possible to select an item from mobile "Scroller"?
Posted: Fri Feb 10, 2017 1:59 pm
by Klaus
What did you script so far?
Re: Is it possible to select an item from mobile "Scroller"?
Posted: Fri Feb 10, 2017 2:50 pm
by DR White
see attachment
Re: Is it possible to select an item from mobile "Scroller"?
Posted: Fri Feb 10, 2017 2:56 pm
by Klaus
Hi David,
the "mouseup" handler needs to go into the list field script!
Best
Klaus
Re: Is it possible to select an item from mobile "Scroller"?
Posted: Fri Feb 10, 2017 3:07 pm
by DR White
Revised version with Klaus's suggestions work GREAT!!
Thank so Much,
David
Re: Select an item from mobile "Scroller"? - Solved
Posted: Fri Feb 10, 2017 3:10 pm
by Klaus
Okie Dokie, makes five bucks then!
(Just kidding)
