View Issue Details

IDProjectCategoryView StatusLast Update
0002301JEDI VCL00 JVCL Componentspublic2004-11-15 05:44
ReporteranonymousAssigned Toobones 
Status resolvedResolutionfixed 
Product Version3.00 BETA 2 
Target VersionFixed in Version3.00 RC 1 
Summary0002301: JvDBGrid Cell Background update problem in fixed Column
DescriptionWhen using a fixed row combined with ShowCellHint, i get a problem with the Background in the fixed Col after the Hint window closes. The region, which was covered by the Hint window get's repaintet with the TJvDBGrid.Color not with the TJvDBGridFixedColor.
The following change in TJvDBGrid.GetCellProps does the fix for me:

...(Line 1588) in JvDBGrid
//if (FCurrentDrawRow >= FixedRows) and Odd(FCurrentDrawRow + FixedRows) and
// (FAlternateRowColor <> clNone) and (FAlternateRowColor <> Color) and
// IsAfterFixedCols then
// Background := AlternateRowColor;

  If IsAfterFixedCols then
    if (FCurrentDrawRow >= FixedRows) and Odd(FCurrentDrawRow + FixedRows) and
        (FAlternateRowColor <> clNone) and (FAlternateRowColor <> Color) then
        Background := AlternateRowColor;
  end else
    Background := Fixedcolor;

Any other suggestions ?
TagsNo tags attached.



2004-11-12 00:55

viewer   ~0005616

Forgotten to mention. I'm using D5Pro SP1. May be there are differences in other versions.


2004-11-15 05:44

administrator   ~0005631

This is now fixed in CVS.
Thanks to you for reporting it.
Thanks to Fred for the complete fix, inspired by your report

Issue History

Date Modified Username Field Change
2004-11-09 00:31 anonymous New Issue
2004-11-12 00:55 anonymous Note Added: 0005616
2004-11-15 05:44 obones Status new => resolved
2004-11-15 05:44 obones Resolution open => fixed
2004-11-15 05:44 obones Assigned To => obones
2004-11-15 05:44 obones Note Added: 0005631