AW: dragging a line gets dashed

Tiemo Hollmann TB toolbook at kestner.de
Mon Oct 14 15:54:56 CEST 2013


Thank you Craig and Jaques for your ideas.
Yes I am just dragging the brush tool (no line grc) in a repeat loop. And
now I remember why I did this unusual handling.
When just using the brush tool, painting a line works nicely without being
dotted.
But I needed to get a mouseup message, when releasing the mouse while using
the brush tool. But having the brush tool selected, I didn't got a mousedown
or mouseup. That’s why I build a handler, called with mousedown, selected
the brush tool, dragged in  repeat loop while mousedown and selected the
browse tool again after the repeat loop. Because the repeat loop asked for
mousedown I got the browse tool back after releasing the mouse.
So if I want to get rid of this strange handling and just using the pure
brush tool, let it doing the drawing, the question is, how can I get a
mouseup and intercept between two drawings?
Thanks for any ideas
Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
Auftrag
> von J. Landman Gay
> Gesendet: Freitag, 11. Oktober 2013 20:18
> An: How to use LiveCode
> Betreff: Re: dragging a line gets dashed
> 
> On 10/11/13 1:08 PM, dunbarx at aol.com wrote:
> > Hi.
> >
> >
> > Though you will need a few more gadgets to manage this well, you can
> always:
> >
> >
> >
> >
> > on mouseMove
> >     set the loc of grc "yourLine" to the mouseLoc end mouseMove
> 
> I think he's drawing a bitmap line with the line tool rather than moving
an
> existing line graphic.
> 
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list