Re: Desktop Fork Menu for Mobile Picker

2017-06-21 Thread Sannyasin Brahmanathaswami via use-livecode
OH… never mind… "popup menu at" 

How could I have forgotten that (by work on mobile most of this year..)

BR
 

On 6/20/17, 4:50 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via 
use-livecode"  wrote:

OK , who knew we would be building for mobile first, and *then* go fishing 
for a desktop solution to the same requirement?

this is too easy:
-
sort tList
put "All" & cr before tList
mobilePick tList, "cancel"
if the result is 0 then
put empty into tModule
else
put line (the result) of tList into tTitle


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Desktop Fork Menu for Mobile Picker

2017-06-20 Thread Sannyasin Brahmanathaswami via use-livecode
OK , who knew we would be building for mobile first, and *then* go fishing for 
a desktop solution to the same requirement?

this is too easy:
-
sort tList
put "All" & cr before tList
mobilePick tList, "cancel"
if the result is 0 then
put empty into tModule
else
put line (the result) of tList into tTitle


Anyone have a "widget" separate control that we can use for desktop to "drop 
into" this scenario?

sort tList
put "All" & cr before tList

if the environment is "mobile" then
mobilePick tList, "cancel"
else
### what?
end if

if the result is 0 then
put empty into tModule
else
put line (the result) of tList into tTitle

BR

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode