mouseStillDown Not Allowed in Front Script?

Alex Tweedly alex at tweedly.net
Sat Aug 27 18:19:27 EDT 2005


Scott Rossi wrote:

>>From a new, empty stack, I loaded the following into a frontscript:
>
> on mouseStillDown
>   put the millisecs
> end mouseStillDown
>
>But nothing appears in the message box when I click in the stack.  Is
>mouseStillDown not trappable in a front script?  Does this handler need to
>co-exist with mouseDown or something else I'm missing?
>  
>
The docs say

>   Note:  If there is no mouseStillDown handler in the target object's 
> script, no mouseStillDown message is sent, even if there is a 
> mouseStillDown handler in an object that's further along the message path.

so I think that may imply that you can't use it in a frontscript (maybe?).

-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005




More information about the use-livecode mailing list