Re: Draw a line that follows an object

2019-07-02 Thread Richmond via use-livecode
I don't know why. Have a bash with this: https://www.dropbox.com/s/6wzi8ln6wwgsvlo/Tortoise.livecode.zip?dl=0 On 2.07.19 19:03, Bob Sneidar via use-livecode wrote: I can't get it to draw anything. Bob S On Jul 2, 2019, at 08:30 , Richmond via use-livecode wrote: Well, well, well . . .

Re: Draw a line that follows an object

2019-07-02 Thread Bob Sneidar via use-livecode
I can't get it to draw anything. Bob S > On Jul 2, 2019, at 08:30 , Richmond via use-livecode > wrote: > > Well, well, well . . . . . > > https://www.dropbox.com/s/x2qmp9hvm43fbk7/NLCT.livecode.zip?dl=0 > > KIsses, Richmond. ___ use-livecode ma

Re: Draw a line that follows an object

2019-07-02 Thread Richmond via use-livecode
Well, well, well . . . . . https://www.dropbox.com/s/x2qmp9hvm43fbk7/NLCT.livecode.zip?dl=0 KIsses, Richmond. On 1.07.19 0:21, dunbarxx via use-livecode wrote: If you add points to a line graphic, which of course starts off with only two lines of points (its endpoints) it will take on the attr

RE: Draw a line that follows an object

2019-06-30 Thread dunbarxx via use-livecode
If you add points to a line graphic, which of course starts off with only two lines of points (its endpoints) it will take on the attributes of a polygon. Is that what you did? But either ought to do, no? Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f27830

RE: Draw a line that follows an object

2019-06-30 Thread General 2018 via use-livecode
...@lists.runrev.com Cc: dunbarxx Subject: Re: Draw a line that follows an object Bad formatting. Which is why I so like the forums. Anywa: local pointsList on mouseDown show btn 1 at "200,200" set the points of grc 1 to "0,0" & comma & the loc of btn 1 put the points of gr

Re: Draw a line that follows an object

2019-06-28 Thread dunbarx--- via use-livecode
uld add an escape handler downStream triggered by just about anything. Much depends on the way the author wants this thing to work. Craig -Original Message- From: Rick Harrison via use-livecode To: How to use LiveCode Cc: Rick Harrison Sent: Fri, Jun 28, 2019 4:54 pm Subject: Re: Draw a

Re: Draw a line that follows an object

2019-06-28 Thread Rick Harrison via use-livecode
Double click to stop drawing? Rick > On Jun 28, 2019, at 4:16 PM, dunbarx--- via use-livecode > wrote: > > Not sure how you want to stop drawing. Let me know how you decide that. > Craig ___ use-livecode mailing list use-livecode@lists.runrev.com Pl

Re: Draw a line that follows an object

2019-06-28 Thread dunbarxx via use-livecode
Bad formatting. Which is why I so like the forums. Anywa: local pointsList on mouseDown show btn 1 at "200,200" set the points of grc 1 to "0,0" & comma & the loc of btn 1 put the points of grc 1 & return into pointsList trackButton end mouseDown on trackButton if the optionKey is d

Re: Draw a line that follows an object

2019-06-28 Thread dunbarx--- via use-livecode
e that. Craig -Original Message- From: General 2018 via use-livecode To: How to use LiveCode Cc: General 2018 Sent: Fri, Jun 28, 2019 2:21 pm Subject: RE: Draw a line that follows an object Hi , Thanks , so nearly - I have a line that follows the object from the top left corner. What I nee

Re: Draw a line that follows an object

2019-06-28 Thread Dar Scott Consulting via use-livecode
-livecode > Sent: 26 June 2019 16:51 > To: use-revolut...@lists.runrev.com > Cc: dunbarxx > Subject: Re: Draw a line that follows an object > > Hi. > > Not sure what you really want, but maybe try this. On a new card create a > button and a line graphic. Put this into the button script

RE: Draw a line that follows an object

2019-06-28 Thread General 2018 via use-livecode
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of dunbarxx via use-livecode Sent: 26 June 2019 16:51 To: use-revolut...@lists.runrev.com Cc: dunbarxx Subject: Re: Draw a line that follows an object Hi. Not sure what you really want, but maybe try this. On a new card create a button and a line

Re: Draw a line that follows an object

2019-06-26 Thread dunbarxx via use-livecode
Hi. Not sure what you really want, but maybe try this. On a new card create a button and a line graphic. Put this into the button script: on mouseDown trackButton end mouseDown on trackButton if the optionKey is down then exit to top -- exit here set the loc of btn 1 to the mouseLoc s

Re: Draw a line that follows an object

2019-06-26 Thread Dar Scott Consulting via use-livecode
I don't know the best way. I would start like this (assuming my understanding of your need is even close) 1. Create the "line" object, either an open polygon or a single line segment (depending on your need), either by code or in the design. 2. Create the drawing object that you want to create t

Draw a line that follows an object

2019-06-26 Thread General 2018 via use-livecode
Hi , What is the best way to draw a line that follows the location of an object , like using a pencil and then erase the scribble ? Regards Camm ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe