Anonymous | Login | Signup for a new account | 2019-02-19 19:14 CET |
Main | My View | View Issues | Change Log | Roadmap | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0006501 | [JEDI VCL] 00 JVCL Components | minor | always | 2016-03-25 17:11 | 2019-01-25 12:42 | |||||||
Reporter | CDametto | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | feedback | Product Version | 3.48 | |||||||||
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. | |||||||||||
Attached Files |
![]() |
|||||||||||
|
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |