MobilePick: how to display the 'text' (not line number!)
Posted: Wed Oct 28, 2020 9:22 am
Hi everyone,
After many days of experimenting with no success I wanted to check if anyone knew of a way to display the 'selectedText' of the option selected when the mobile menu displays on a device.
At present I can only get it to show the line number selected!
I've tried various permutations of the following code but with no success!
Grateful for any help,
Many thanks,
Glenn
After many days of experimenting with no success I wanted to check if anyone knew of a way to display the 'selectedText' of the option selected when the mobile menu displays on a device.
At present I can only get it to show the line number selected!
I've tried various permutations of the following code but with no success!
Grateful for any help,
Many thanks,
Glenn
Code: Select all
on mouseup
put the colorNames into tColorNames
mobilePick tColorNames
put the result into tChosen
answer tChosen -- this just gives the line number selected, not the name!
-- no success with these!
#answer the clickText of tChosen
#answer the selectedText of tChosen
end mouseup