Page 1 of 1
Is there any way to make an Android Pick Wheel? - Solved
Posted: Sun Jul 30, 2017 3:55 pm
by DR White
I have searched Dictionary, tutorials and postings, but I can't find anything.
I have attached a simple stack with as far as I could go.
Any help will be appreciated.
Thanks You,
David
Re: Is there any way to make an Android Pick Wheel with LC?
Posted: Mon Jul 31, 2017 5:00 pm
by jacque
Android doesn't use a pickwheel, you won't find it in any app. It uses an option sheet instead, which you can bring up with the mobilePick function.
Re: Is there any way to make an Android Pick Wheel with LC?
Posted: Tue Aug 01, 2017 11:59 am
by [-hh]
If you do it by yourself the source code of Bernd's stack "Scroll Images" may help:
http://berndniggemann.on-rev.com
Re: Is there any way to make an Android Pick Wheel with LC?
Posted: Tue Aug 01, 2017 6:59 pm
by DR White
Jacque,
I am not familiar with "option sheet". I used the mobilePick function in the stack that I included with this posting. Could you take a peek at it and tell me if this is what you are referring to?
Thanks,
David
----------------------------------------------
-hh,
That's a cool stack that you referred me to, but It will not work in my application very well.
Thanks,
David
Re: Is there any way to make an Android Pick Wheel with LC?
Posted: Wed Aug 02, 2017 5:17 pm
by jacque
I didn't see an enclosure in your post, but the Android version of a picklist is similar to this:
https://niteridersurfs.files.wordpress. ... enu_02.png
Re: Is there any way to make an Android Pick Wheel with LC?
Posted: Thu Aug 03, 2017 11:27 pm
by DR White
Jacque,
That is the way mine looks.
But, I can not get the InitialIndex to highlight any items in the list.
Thanks for your help,
David
Re: Is there any way to make an Android Pick Wheel with LC?
Posted: Fri Aug 04, 2017 5:01 am
by jacque
Code: Select all
mobilePick "Aphid" & return & "Bird" & return & "Cat", 3, "checkmark"
put the result
That should give you a picklist with the third line chosen. If you choose a different line it should put the line number into the message box.
Re: Is there any way to make an Android Pick Wheel with LC?
Posted: Fri Aug 04, 2017 12:07 pm
by DR White
Jacque,
I used the following code:
repeat with x =26 to 0 step -1
if x = 26 then
put x into tList1
else
put x & cr & tList1 into tList1
end if
end repeat
mobilePick tList1, 5, "canceldone", "checkmark"
put the result into Test2
I did see the 5th little button on right checked.
Android has pretty poor pick system compared to apple.
Thanks so much for your help,
David
Re: Is there any way to make an Android Pick Wheel with LC?
Posted: Fri Aug 04, 2017 12:14 pm
by Klaus
Hi David,
DR White wrote:Android has pretty poor pick system compared to apple.
complain at Google!
Best
Klaus