--- Joost van der Sluis <[EMAIL PROTECTED]> escribió:

> Hi Jesus and the rest,
> 
> 
> Attached is a patch to allow 'subrows' in a row in a grid. You can
> say,
> for example that each row should contain two subrows. Then the
> columns
> will be divided over those two rows. Second you can specify for
> each
> column how much subrows it has to 'span'.
> 
> For example, with two subrows, and a subrowspan of two for the
> first
> column, you can get something like this:
> http://menora.cnoc.nl/public/GridSubrows.png
> 
> Attached is a patch. It works reasonable, but there are still some
> issues. For example if 'subrows mod columncount<>0' then no
> background
> is painted for the 'empty' part. 
> 
> I also think that resizing columns and reordening them will give
> problems.
> 
> But what do you guys think of the idea and patch?
> 
> Joost.

Looks nice!

About the patch, I just applied and didn't take a closer look, will
try to do later, initially there seems to be many problems for
example, the TStringGrid editor doesn't know about subrows, and
crashed my lazarus badly, I also wasn't able to reproduce your image,
if issues are fixed I think we should add it.

There is still a pending feature I tried to add since rev 0, grouping
of cells, with this something like you did can be achieved but not
everything and viceversa, so I think both features can coexists.

Jesus Reyes A.


      Llama gratis a cualquier PC del mundo. 
Con una excelente calidad de sonido. 
http://mx.messenger.yahoo.com/

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to