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
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode