UniCode with iOS mobilePick
Scott Morrow
scott at elementarysoftware.com
Thu Apr 4 21:28:13 EDT 2013
Thanks!
On Apr 4, 2013, at 7:36 AM, Ender Nafi Elekçioğlu <endernafi at gmail.com> wrote:
> Unfortunately, it does not.
> Fortunately, there is a workaround.
>
> The Option Menu Button trigger the native mobilePick control.
> So, here is the recipe {pseudo-code}:
>
> ---
>
> on createMobilepickTrigger
> _create a button
> _set its type to option menu
> _set its rect to 0,0,1,1
> _set its text to tUniencodedText
>
> on mouseUp
> _if the clicked object is your actual button which should open the mobilePick control then
> __click at the loc of button mobilePickTrigger
>
> on menuPick pItem
> _if the clicked object is the mobilePickTrigger then
> __do your thing
>
> ---
>
>
> I've used this method in several apps of mine.
> Hope it helps…
>
> Best,
>
> ~ Ender Nafi
>
> ~… together, we're smarter …~
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list