On Fri, Jan 15, 2010 at 10:12 AM, zryip theSlug <[email protected]> wrote: > Hi all, > > Maybe I'm doing something wrong but I can't trap the mouse button > number in a mouseStillDown handler. > > local lmyLoop > > on mouseStillDown pMouseBtnNumber > add 1 to lmyLoop > put "Test "&&lmyLoop&&"Button pressed"&&pMouseBtnNumber into fld "Field" > end mouseStillDown > > My pMouseBtnNumber remains desperately empty...
I haven't tried this, but I assume it is an error in the docs. It may not be included for speed reasons. One work-around would be to store the mouse button in a script local on mouseDown. That way you could refer to it on every mouseStillDown without having to poll it again. Cheers, Sarah _______________________________________________ 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
