Re: Polygons

2021-04-04 Thread Ian McKnight via use-livecode
Yes. Polygons use a list of 4 points to describe a triangle. The first and last are the co-ords of the same vertex to ensure closure. If the last point is left out then the line between the last vertex and the first vertex is not drawn. So make sure that your list of points doesn't begin with the r

Re: Polygons

2021-04-04 Thread Ian McKnight via use-livecode
t; To expand on the original question. If you have a hexagon, is it possible > to only draw lines on sides 1,3,5,6 and no lines on sides 2,4. > > Thanks Terry > > > On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode < > use-livecode@lists.runrev.com> wrote: > &

Re: Polygons

2021-04-04 Thread Ian McKnight via use-livecode
; >> Thanks Terry >> >> > On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode < >> use-livecode@lists.runrev.com> wrote: >> > >> > Yes. Polygons use a list of 4 points to describe a triangle. The first >> and >> > last are the

Re: Polygons

2021-04-04 Thread Ian McKnight via use-livecode
is is of some help Regards Ian On Sun, 4 Apr 2021 at 18:04, Terence Heaford via use-livecode < use-livecode@lists.runrev.com> wrote: > When you do this it appears to affect the fill settings. I lose the fill > where there are no lines and the closure of the points also moves. > &g

Re: Polygons

2021-04-04 Thread Ian McKnight via use-livecode
es on/off you will see that the fill does not > work without all lines. > > Not sure what this means exactly. > > Thanks > > Terry > > > > On 4 Apr 2021, at 18:43, Ian McKnight via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > I

DataGrid anomaly?

2018-04-11 Thread Ian McKnight via use-livecode
Hi I have a stack that opens a data stack imports an array, processes it and displays the results in a DataGrid Table - pretty straight forward and simple stuff - and all handlers work as they should. Here is the code in the "Open File" button *on* mouseUp retrieveData augmentDataArray

Re: DataGrid anomaly?

2018-04-11 Thread Ian McKnight via use-livecode
wrote: > Also what happens when you step through the code? > > Bob S > > > > On Apr 11, 2018, at 06:53 , Ian McKnight via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > createTabbedDataList > > > ___

Re: char as word boundary

2022-06-03 Thread Ian McKnight via use-livecode
Hi Look up numToChar in the dictionary. It's been deprecated since v7 0 because of unicode. This might explain things. Hope that helps Ian McKnight On Fri, 3 Jun 2022, 14:57 Jean-Jacques Wagner via use-livecode, < use-livecode@lists.runrev.com> wrote: > Hi, > Version 6.7word boudary are ch