More drawing tool woes: no mouseDown or mouseUp sent?
capellan2000 at yahoo.com
Sat Sep 10 19:28:44 CDT 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"
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.
Visit my site:
Click here to donate to the Hurricane Katrina relief effort.
More information about the use-livecode