View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006501 | JEDI VCL | 00 JVCL Components | public | 2016-03-25 17:11 | 2019-04-30 15:18 |
Reporter | CDametto | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.48 | ||||
Target Version | Fixed in Version | Daily / GIT | |||
Summary | 0006501: In JvDBGrid, UseThemedHilighlighting leave out columns with checkbox | ||||
Description | Implementing OnCheckIfBooleanField in a JvDBGrid, the column with checkbox looks as if UseThemedHilighlighting=False | ||||
Additional Information | I have solved adding three line in TJvDBGrid.DrawColumnCell routine: [...] if DefaultDrawing then begin I := GetImageIndex(Field); if I >= 0 then begin Bmp := GetGridBitmap(TGridPicture(I)); if Highlight then // <- LINE ADDED DrawThemedHighlighting(Canvas, Rect) // <- LINE ADDED else // <- LINE ADDED Canvas.FillRect(Rect); DrawBitmapTransparent(Canvas, (Rect.Left + Rect.Right + 1 - Bmp.Width) div 2, (Rect.Top + Rect.Bottom + 1 - Bmp.Height) div 2, Bmp, clOlive); end else begin DefaultDrawColumnCell(Rect, DataCol, Column, State); end; end; [...] | ||||
Tags | No tags attached. | ||||
|
Could you check if the issue is still present in the latest GIT content? If yes, please provide the zipped sources of an application showing this. |
|
The issue is still present in jvcl 3.50 with Delphi 10.3 rio |
2019-01-25 12:42
|
Demo.zip (54,257 bytes) |
|
Pull request with your proposed fix created: https://github.com/project-jedi/jvcl/pull/94 |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-03-25 17:11 | CDametto | New Issue | |
2018-07-18 15:42 | obones | Note Added: 0021491 | |
2018-07-18 15:42 | obones | Status | new => feedback |
2019-01-25 12:41 | CDametto | Note Added: 0021604 | |
2019-01-25 12:42 | CDametto | File Added: Demo.zip | |
2019-04-26 20:15 | mh | Note Added: 0021749 | |
2019-04-30 15:18 | obones | Status | feedback => resolved |
2019-04-30 15:18 | obones | Fixed in Version | => Daily / GIT |
2019-04-30 15:18 | obones | Resolution | open => fixed |
2019-04-30 15:18 | obones | Assigned To | => obones |