----- Original Message ----- From: "Joost van der Sluis" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, June 30, 2007 1:58 PM
Subject: Re: [lazarus] Subrows in grids...


On Wed, 2007-06-20 at 17:51 -0500, Jesus Reyes wrote:
[snip]
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.

Here is a new patch. This one works better.

--
Met vriendelijke groeten,

 Joost van der Sluis
 CNOC Informatiesystemen en Netwerken
 http://www.cnoc.nl


AV's are fixed, but I'm afraid it's still not ready, I been testing and found many issues will list only (IMO) the two most important.

1. Gaps are not redrawn, gaps are formed under various circunstances: using SubRowCount without custom columns, columns with different sizes (very common in dbgrid), etc. This might be a little difficult to get it working right. 2. It doesn't work with fixed columns, I guess in multi subrow grid, cells in fixedrows zone should automatically use SubRowCount*DefaultRow height, this issue doesn't allow a dbgrid to work/look ok too.

Maybe the feature is not intented to work under all circunstances but in that case, I guess SubRowCount should do nothing if there are no custom columns or only work if at least one column has SpanSubrows>1, or vice versa.

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

Reply via email to