Project JEDI - Issue Tracker - JEDI VCL
Viewing Issue Advanced Details
6328 00 JVCL Components tweak always 2014-09-13 13:15 2019-05-23 20:39
moore  
 
normal  
acknowledged 3.47  
open  
none    
none  
0006328: JvDBGrid focused cell does not draw like DBGrid
After 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..
? file icon Project3.dpr [^] (234 bytes) 2014-12-11 14:11
zip file icon Projects.zip [^] (1,699 bytes) 2014-12-11 14:13
jpg file icon GridSel.jpg [^] (49,432 bytes) 2014-12-11 14:13
jpg file icon grdbug.jpg [^] (67,980 bytes) 2015-04-28 15:38
jpg file icon ThemeDBGrid.jpg [^] (56,495 bytes) 2015-09-15 13:43
Issue History
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-06-18 14:08 frank_jepsen Issue Monitored: frank_jepsen
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

Notes
(0021077)
obones   
2014-12-04 14:58   
Please provide the zipped sources of a sample application showing this.
(0021134)
moore   
2014-12-11 14:14   
Attached project and image showing the issue..
(0021162)
moore   
2015-04-28 15:39   
Moreover, I noticed that a fine line under the header (titles zone) does not appear in JvDBGrid (below). See attachement..
(0021170)
frank_jepsen   
2015-06-18 10:43   
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.
(0021209)
moore   
2015-09-15 13:45   
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 :)
(0021241)
ZENsan   
2015-10-14 13:01   
It does work with the latest version, but raises another incompatible issue noted in 0006454.
(0021242)
moore   
2015-10-14 15:32   
Which Rad Studio version?
I do not see UseThemedSelection option in XE7 :(
(0021849)
mh   
2019-05-23 20:39   
Created this pull request for this issue as it has been approved:
https://github.com/project-jedi/jvcl/pull/131 [^]