Returning Data from a Modal

Andrew Kluthe andrew at ctech.me
Fri Jan 11 17:02:05 EST 2013


Perfect. I new there was something, but couldn't find that property in
the dictionary by browsing around randomly.

Regards,

Andrew

On Fri, Jan 11, 2013 at 1:56 PM, Peter Haworth <pete at lcsql.com> wrote:
> Not sure if this is standard, but I set the dialogData in whatever script
> closes the modal stack, so:
>
> go stack "blah" modal
> put the dialogData into tReturnedData
>
> Pete
> lcSQL Software <http://www.lcsql.com>
>
>
> On Fri, Jan 11, 2013 at 11:13 AM, Andrew Kluthe <andrew at ctech.me> wrote:
>
>> Is there an easy way I am overlooking to return data from a modal?
>>
>> Something akin to:
>>
>> go stack "BlahBlah" as modal
>> put tReturnedData
>>
>> How do all of you handle that in a modal? I want a modal to return
>> true if followed through with or false if its canceled, so I know not
>> to execute the rest of script after the modal call if it was canceled.
>>
>> I feel like I have done this or seen this somewhere before.
>>
>> --
>> Regards,
>>
>> Andrew Kluthe
>> andrew at ctech.me
>>
>> _______________________________________________
>> 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
>>
> _______________________________________________
> 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



-- 
Regards,

Andrew Kluthe
andrew at ctech.me




More information about the use-livecode mailing list