Programatically complete an answer dialog ?

Mike Bonner bonnmike at gmail.com
Tue Jul 21 18:49:57 EDT 2015


You can put this into a button to find out the name of the stack. (Which
turns out to be named "Answer Dialog")

on mouseUp
   send "set the mystacks of this stack to the openstacks" to me  in 1
second
   answer information "HI!"
   put the mystacks of this stack
end mouseUp

On Tue, Jul 21, 2015 at 4:36 PM, Peter W A Wood <peterwawood at gmail.com>
wrote:

> Bob
>
> > On 21 Jul 2015, at 22:33, Bob Sneidar <bobsneidar at iotecdigital.com>
> wrote:
> >
> > Unless you get into the answer dialog stack and play around or craft
> your own, I don’t think so. The problem is, the answer dialog is a modal
> stack itself and no processing happens until you dismiss it.
> >
> > Bob S
>
> I found it easy to dismiss a modal stack once I can identify the stack (or
> even better the button) by sending a message to it in a suitable timeframe
> before the modal stack will be opened. I can’t manage that yet with an
> answer stack as I can’t identify the name of the stack that the engine
> displays.
>
> Regards
>
> Peter
> _______________________________________________
> 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