message box

Brad Allen BradAllen at
Mon Sep 2 15:48:02 EDT 2002

Well, here's a start: You could use the Transcript "do" command to 
execute any script the user enters, as in:

on returnInField --put this handler into the script of the data entry field
   do line 1 of me
end returnInField

if you want to have a multiline message box, you could use:

on enterInField
    do me
end enterInField

However, this doesn't have all the features of the message box. For 
instance, if you want the results to display in a field called 
"message output", you'd have to type:

put "whatever" into field "message output"

whereas with the message box, you can just type  put "whatever" and 
it will appear in the message box output. Also, there's the problem 
of displaying syntax errors. The message box does that gracefully by 
displaying an error message in the message box output. I'm not sure 
how to capture that error message text.

>I am confused as to how to script such a substack and I would appreciate any
>>  From: Gary Rathbone <gary.rathbone at>
>>  Organization: Interfusion Ltd
>>  Reply-To: use-revolution at
>>  Date: Mon, 02 Sep 2002 20:18:37 +0100
>>  To: use-revolution at
>>  Subject: Re: message box
>>  Easiest way is to create a substack with the control features you need. You
>>  can send messages such as
>>  put "Operation Complete..." into fld "tmessage" of wd "MessageBox"
>>  If you wish to act on 'commands' the user types into the "MessageBox" then
>>  this can be done using either a 'Submit' button or 'on exitField' handler
>>  Regards
>>  Gary Rathbone
>>  ----- Original Message -----
>>  From: "james lewes" <jameslewes at>
>>  To: <use-revolution at>
>>  Sent: Monday, September 02, 2002 6:50 PM
>>  Subject: message box
>>>  in supercard there was a way of building a message box into a standalone,
>>>  how can one do the same thing in Revolution
>>>  _______________________________________________
>>>  use-revolution mailing list
>>>  use-revolution at
>>  _______________________________________________
>>  use-revolution mailing list
>>  use-revolution at
>use-revolution mailing list
>use-revolution at

More information about the Use-livecode mailing list