Hair Pulling Time
dsc at swcp.com
Wed Dec 31 03:10:05 EST 2003
On Wednesday, December 31, 2003, at 12:56 AM, Scott Rossi wrote:
> Can anyone explain to me why the following script works from the
> message box
> and not from a mouseUp handler in a button in the same stack?
> choose select tool
> drag from topleft of img "wdm" to bottomright of img "wdm"
> Rev returns a useless compiling error that reads:
> Type Function: missing '('
> Object Button 1
I don't know what is going on. I do see old error messages repeated at
times. I think they come up when error handling gets confused or has
an error or the stack is blown.
I recently tried using the select tool by hand and got a flashing error
window. I don't know if that is a clue.
Maybe you can put in a try-catch and then look at the raw error
parameter and see if it gives a clue.
Do you start it from the message box with the enter key? Can you start
it with a keystroke from the stack?
Just babbling Scott, hoping something might click.
More information about the Use-livecode