More drawing tool woes: no mouseDown or mouseUp sent?

MisterX b.xavier at internet.lu
Sat Sep 10 05:51:20 EDT 2005


There are plenty of ways this should work...

a timed message sent every x milliseconds from a frontscripted palette or
hidden script should be able to intercept your information every 10th of a
second and be unintrusive (while the mouse is up)...

im pretty sure it should work... 
The palette and your script could interact via a global.

This is a mix of how my resizeNO2 and HotKeyNO2 stacks work...

It only become intrussive if you catch events too often or if you try to get
too much information...

cheers
Xavier

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Richard Gaskin
> Sent: Saturday, September 10, 2005 10:13
> To: How to use Revolution
> Subject: Re: More drawing tool woes: no mouseDown or mouseUp sent?
> 
> MisterX wrote:
> > Richard,
> > 
> > Can't you set up either
> > 
> > A frontscript that traps mousedown and up before your controls...
> > this front scripts remembers where that happened and passes it or 
> > treats the value...
> 
> That one won't work, because there is not message to trap at 
> any level if the pointer tool is active. :(
> 
> > An alternative is to have a card framework that does all the events 
> > instead of having the controls in the card relay the 
> events. It would 
> > give you more control i believe - not the best way to program rev 
> > though, it's still "legal!"
> 
> Polling?  I've been doing waaaay to much polling to work 
> around other messaging anomalies; kinda hate to add more 
> overhead like that if I could avoid it.  But indeed, perhaps 
> I can't.....
> 
> 
> --
>   Richard Gaskin
>   Fourth World Media Corporation
>   __________________________________________________
>   Rev tools and more: http://www.fourthworld.com/revld.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list