Re: [Lazarus] In search of a component for holding a table of strings

2017-01-06 Thread Bart via Lazarus
On 1/6/17, Michael Schnell via Lazarus wrote: >> Just implemented sorting. > Nice ! > (Even if I don't see a straight forward understanding of two dimensional > sorting). Imagine you wat the rows that have the largest values (this depends on the context) at the

Re: [Lazarus] In search of a component for holding a table of strings

2017-01-06 Thread Bart via Lazarus
On 1/6/17, Michael Schnell via Lazarus wrote: > Instead of a two dimensional array of strings you could have use a > single dimensional array of StringLists (a less symmetrical way, of > course). That was my frist try (see:

Re: [Lazarus] In search of a component for holding a table of strings

2017-01-06 Thread Lukasz Sokol via Lazarus
On 06/01/17 16:46, Michael Schnell via Lazarus wrote: > On 06.01.2017 16:20, Bart via Lazarus wrote: >> That makes no sense to me, > Instead of a two dimensional array of strings you could have use a single > dimensional array of StringLists (a less symmetrical way, of course). > > -Michael

Re: [Lazarus] In search of a component for holding a table of strings

2017-01-06 Thread Michael Schnell via Lazarus
On 06.01.2017 16:20, Bart via Lazarus wrote: That makes no sense to me, Instead of a two dimensional array of strings you could have use a single dimensional array of StringLists (a less symmetrical way, of course). -Michael -- ___ Lazarus mailing

Re: [Lazarus] In search of a component for holding a table of strings

2017-01-06 Thread Lars via Lazarus
On Fri, January 6, 2017 5:40 am, Bart via Lazarus wrote: > Mind you FF is able to copy the table in plaintext format using Tabs > as a separator, which would be easy, but IE (which is the only browser > available to me on the system) cannot do so. > > Obviously my boss does not care, he does not

Re: [Lazarus] In search of a component for holding a table of strings

2017-01-06 Thread Bart via Lazarus
On 1/6/17, Lukasz Sokol via Lazarus wrote: > OK I understand, you don't want to depend on TStrings ? That makes no sense to me, some methods take a TStrings as parameter... Maybe you meant TStringGrid instead? I did not want my code to depend on LCL. (It does

Re: [Lazarus] In search of a component for holding a table of strings

2017-01-06 Thread Bart via Lazarus
On 1/6/17, Michael Schnell via Lazarus wrote: > Looking at the code I could imagine that auto-growing when using the > Cell property to write an element might be appropriate. I thought bout that, but rejected it. > Read/Write form/to a file might be sensible.

Re: [Lazarus] In search of a component for holding a table of strings

2017-01-06 Thread Bart via Lazarus
On 1/6/17, Lukasz Sokol via Lazarus wrote: > just having a look at the declaration, haven't skimmed through code yet, > > do you also plan to add a TStringGrid-like interface for cols and rows No, I wanted to keep it as simple as possible. Bart --

Re: [Lazarus] In search of a component for holding a table of strings

2017-01-06 Thread Michael Schnell via Lazarus
On 05.01.2017 18:10, Bart via Lazarus wrote: Just implemented sorting. Nice ! (Even if I don't see a straight forward understanding of two dimensional sorting). BTW.: Looking at the code I could imagine that auto-growing when using the Cell property to write an element might be