mousedown situation

FMoyer at aol.com FMoyer at aol.com
Mon Dec 13 23:36:13 EST 2004


Hi.

Am I missing something really elementary? Create a button with the following 
script:

on mousedown
     answer "Click OK only once to make this message disappear."
end mousedown

Try it. If you are running Panther, I bet you have to click "OK" twice. I 
understand that if you are running Jaguar, you need only click once.

If addition, put in the stack script:

on mousedown
    put "This message shouldn't show up."
end mousedown

Now try the button. If you have Panther, the first time you click the "OK", 
up comes "This message shouldn't show up." The stack is receiving that 
mousedown message.

I know I can solve this by just using "mouseup" in the button but for the 
application I'm designing, I need it to be mousedown. 

Any clues why this is happening? Thanks.

Fred Moyer


More information about the use-livecode mailing list