On Wednesday, Aug 25 1999, [EMAIL PROTECTED] wrote:

> I'd like to lock the error dialogs in a stack so the user will not see any
> error messages.  I put some the following into a button to try it out.
>
> on mouseUp
>   kjfghmlr
> end mouseUp
>
> When I click the button I get an execution error as expected.  Then I typed
> into the Message Box:
>
> set the lockErrorDialogs to true
>
> and also
>
> set the lockErrorDialogs to false
>
> In both cases I still get an Execution Error box when I click the button.
> Doesn't lockErrorDialogs suppress the Execution Error box or is that done
> some other way?

I think it should supress the error, but it doesn't appear to here either.
But lockErrorDialogs has been superceded with the "try" control structure:

try
  whatever scripts
catch someError
  put "There was an error" && someError
end try

Also check out the entries for "throw" and "finally".

Regards,

Kevin

> Philip Chumbley

Kevin Miller <[EMAIL PROTECTED]> <http://www.xworlds.com/>
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.

Reply via email to