Re: mousedown situation

2004-12-13 Thread Dar Scott
On Dec 13, 2004, at 9:36 PM, [EMAIL PROTECTED] wrote:
on mousedown
 answer "Click OK only once to make this message disappear."
end mousedown
Hmmm.  It looks as though there is some unfinished business at the 
button.  It is probably merrily getting mouseStillDown messages and 
doesn't see the mouse is up.

I guess one click on the dialog window clears that or changes 
something.  The second click then works.

You might be able to work around this if you use your own stack for the 
dialog or make a group visible.

Hmmm.  Wimpy advice.  That's all I have.
Dar Scott

DSC
http://www.swcp.com/dsc/
Programming Services

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


mousedown situation

2004-12-13 Thread FMoyer
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
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mousedown situation

2004-12-13 Thread Thomas McGrath III
I had this happen to me. After you build the app does it work correctly?
In Panther "sometimes" one click is needed to bring a dialog to the 
foreground and then a second click goes to the button in other 
applications. It doesn't happen all of the time for me but certain apps 
do it.

Build the app and see if it still happens.
Tom
On Dec 14, 2004, at 1:29 AM, Dar Scott wrote:
On Dec 13, 2004, at 9:36 PM, [EMAIL PROTECTED] wrote:
on mousedown
 answer "Click OK only once to make this message disappear."
end mousedown
Hmmm.  It looks as though there is some unfinished business at the 
button.  It is probably merrily getting mouseStillDown messages and 
doesn't see the mouse is up.

I guess one click on the dialog window clears that or changes 
something.  The second click then works.

You might be able to work around this if you use your own stack for 
the dialog or make a group visible.

Hmmm.  Wimpy advice.  That's all I have.
Dar Scott

DSC
http://www.swcp.com/dsc/
Programming Services

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution