View Issue Details

IDProjectCategoryView StatusLast Update
0006328JEDI VCL00 JVCL Componentspublic2019-05-23 20:39
ReportermooreAssigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status acknowledgedResolutionopen 
Product Version3.47 
Target VersionFixed in Version 
Summary0006328: JvDBGrid focused cell does not draw like DBGrid
DescriptionAfter RAD XE, TDBGrid has been themed and so the TJvDBGrid
However, TJvDBGrid focused cell does not draw like DBGrid in color in Windows7/8.1

This problem does not occur with TStringGrid.

Thanks for your efforts..
TagsNo tags attached.

Activities

obones

2014-12-04 14:58

administrator   ~0021077

Please provide the zipped sources of a sample application showing this.

2014-12-11 14:11

 

Project3.dpr (234 bytes)

2014-12-11 14:13

 

Projects.zip (1,699 bytes)

2014-12-11 14:13

 

GridSel.jpg (49,432 bytes)
GridSel.jpg (49,432 bytes)

moore

2014-12-11 14:14

reporter   ~0021134

Attached project and image showing the issue..

2015-04-28 15:38

 

grdbug.jpg (67,980 bytes)
grdbug.jpg (67,980 bytes)

moore

2015-04-28 15:39

reporter   ~0021162

Moreover, I noticed that a fine line under the header (titles zone) does not appear in JvDBGrid (below). See attachement..

frank_jepsen

2015-06-18 10:43

reporter   ~0021170

I saw this bug also.
This patch seems to solve it:
--- a/jvcl/run/JvDBGrid.pas
+++ b/jvcl/run/JvDBGrid.pas
@@ -3425,7 +3425,7 @@ begin
         Indicator := 0
       else
         Indicator := 1; { multiselected and current row }
-// MsIndicators.BkColor := FixedColor;
+ MsIndicators.BkColor := FixedColor;
       ALeft := FixRect.Right - MsIndicators.Width - FrameOffs;
       if InBiDiMode then
         Inc(ALeft);
It reverts some change Obarden did. Without backgroud the triangle with dot is drawn transparently on a full triangle already drawn from TDBGrid.

2015-09-15 13:43

 

ThemeDBGrid.jpg (56,495 bytes)
ThemeDBGrid.jpg (56,495 bytes)

moore

2015-09-15 13:45

reporter   ~0021209

After the changes commited, now they appear as in the last attached jpg.
For me it is acceptable, Do not know for others,
Thnx for your efforts :)

ZENsan

2015-10-14 13:01

reporter   ~0021241

It does work with the latest version, but raises another incompatible issue noted in 0006454.

moore

2015-10-14 15:32

reporter   ~0021242

Which Rad Studio version?
I do not see UseThemedSelection option in XE7 :(

mh

2019-05-23 20:39

reporter   ~0021849

Created this pull request for this issue as it has been approved:
https://github.com/project-jedi/jvcl/pull/131

Issue History

Date Modified Username Field Change
2014-09-13 13:15 moore New Issue
2014-12-04 14:58 obones Note Added: 0021077
2014-12-04 14:58 obones Status new => feedback
2014-12-11 14:11 moore File Added: Project3.dpr
2014-12-11 14:13 moore File Added: Projects.zip
2014-12-11 14:13 moore File Added: GridSel.jpg
2014-12-11 14:14 moore Note Added: 0021134
2015-01-19 16:01 obones Status feedback => acknowledged
2015-04-28 15:38 moore File Added: grdbug.jpg
2015-04-28 15:39 moore Note Added: 0021162
2015-06-18 10:43 frank_jepsen Note Added: 0021170
2015-09-15 13:43 moore File Added: ThemeDBGrid.jpg
2015-09-15 13:45 moore Note Added: 0021209
2015-10-14 13:01 ZENsan Note Added: 0021241
2015-10-14 15:32 moore Note Added: 0021242
2019-05-23 20:39 mh Note Added: 0021849