More drawing tool woes: no mouseDown or mouseUp sent?

Alejandro Tejada capellan2000 at yahoo.com
Sat Sep 10 20:28:44 EDT 2005


on Sat, 10 Sep 2005 
Richard Gaskin wrote:

> I'm making a specialized drawing tool, and I need to
> know when the mouse 
> is clicked outside of any control while the pointer
> tool is active

A frontscript could do what you want,
in the palette PenTool, every tool
uses a frontscript to work on the
target only if it: 
1- is a polygon graphic
2- have some custom properties, etc.
3- it's name is not "auxiliarGraphic"
etc...

In an earlier version, not released, i tried to
simulate the pointer tool behavior using a 
frontscript and the browse tool, but that proved 
to be a big problem while using the palette in 
the development environment.

For that test, i used an auxiliar vector graphic 
to identify the graphics selected.

The auxiliar graphic adopted the shape of all
graphic selected. By clicking the graphics, 
i was adding or (using shift click) deleting 
their points from the auxiliar graphic.

al



Visit my site:
http://www.geocities.com/capellan2000/


	
		
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/



More information about the use-livecode mailing list