Programatically complete an answer dialog ?

dunbarx at dunbarx at
Tue Jul 14 20:45:36 EDT 2015

Yep, everything is a stack. The answer dialog is:


Make a new card. Put a button and a field on it. In the button script:

on mouseUp
   answer "Hmmm"
end mouseUp

on mouseEnter
   put the stacks into fld 1
end mouseEnter

Open the message watcher, and for heaven's sake, suppress IDE messages. Click the button, and move the mouse around a bit, including into and out of the dialog and back to the card and its controls 

Now I don't know why "mouseEnter" and "mouseLeave" are sent in this condition, that is, with the dialog open, and almost nothing else is. Well, I do know. It is because that is the way the thing is built.

But maybe there is a clue here?

Craig Newman

-----Original Message-----

From: Peter W A Wood <peterwawood at>
To: How to use LiveCode <use-livecode at>
Sent: Tue, Jul 14, 2015 8:24 pm
Subject: Programatically complete an answer dialog ?

I have a stack which requests the user to enter some text into an answer dialog.
I am trying to test that stack from another stack. Is there a way to
programatically enter text into an answer dialog?

Another way of asking this
question is: Is an answer dialog simply a stack? If so, does anybody know the
name of the stack and the name of the text field? (I can guess the name of the
button would be the label displayed on


mailing list
use-livecode at
Please visit this url to subscribe,
unsubscribe and manage your subscription


More information about the Use-livecode mailing list