AW: Suffering from a Brain Fart...

Paul Dupuis paul at researchware.com
Wed Nov 23 21:34:58 EST 2016


Thank you all for the replies.
...
open inv <stack> as modal
show <stack>
repeat <some repeat expression>
  wait 0 with messages -- to allow any controls in the dialog to function
  -- do repeat loop stuff, updating dialog items as needed
end repeat
close <stack>
...
does get you a modal dialog while the script continues, where as
...
modal <stack>
...
put up the dialog and pauses the script until the dialog window is closed



On 11/22/2016 5:10 PM, Paul Dupuis wrote:
> Help,
>
> I was to open a modal dialog from a single handler and continue the
> handler, updating certain information in a dialog, in a repeat loop.
>
> The 'modal <stack>' command pauses the handler execution until the
> dialog is closed (presumably from a button in the dialog itself).
> Therefore I need to open the dialog with something other than the modal
> command?
>
> I have done this before, but for whatever reasons, I can not remember
> how to do it nor can I find any sample code in any of my stacks where I
> have done this.
>
>
>
> _______________________________________________
> 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