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 appropriate
On 05/01/17 17:10, Bart via Lazarus wrote:
> On 1/5/17, Bart wrote:
>
>> I constructed a TStringTable class that does all I need (and more):
>> - insert, add, delete rows/cols
>> - autogrow colcount (with insertrow)
>> - exchange rows/cols
>> - get/set rows/cols
>> - property Cells[ACol, ARow]: s
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
--
___
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. Here AFAIK, the fpc's
> TStringList
On 06/01/17 12:07, Bart via Lazarus wrote:
> 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.
>
>
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 depend on LazUtils though, but that
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 ha
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 l
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
Yeah
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:
http://svn.code.sf.net/p/flyingsheep/code/trunk/FarmedTools/tableemulato
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 top, or likewise columns at the le
11 matches
Mail list logo