Returning Data from a Modal

Peter Haworth pete at lcsql.com
Fri Jan 11 14:56:20 EST 2013


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
>



More information about the use-livecode mailing list