Hello,

I am unable to catch the scriptParsingError message. I have tried backscripts, frontscripts and other places in the message hierarchy, with and without script debug mode turned on. I have even tried removing the scriptParsingError handler from Rev's front script.

If I set the script of the object to the following handler

on scriptParsingError theErr
  beep
  put "Error:" & cr & theErr
end scriptParsingError

and then try setting its script by executing

on mouseUp
set the script of btn id 1032 to "on mouseUp" & cr & " set the bla to foo" & cr & "end mouseUp"
end mouseUp

still nothing happens.

The docs say about the scriptParsingError message: "Sent to an object when its script cannot be compiled." So, I assume this message should always be sent, regardless of the way the script of the object is set. Also, the message should be sent to the object and should then be passed up the message hierarchy, while it should not be caught by any front script. The docs don't mention any circumstances which cause the message not to be sent.

Bugzilla says this has been fixed

http://support.runrev.com/bugdatabase/show_bug.cgi?id=3162

but the problem persists in Rev 2.7.5-dp-2.

Is there something I am missing?

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to