View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006721 | JEDI VCL | 00 JVCL Components | public | 2021-06-17 17:06 | 2021-09-04 14:18 |
Reporter | dwjedi21 | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | ||||
Summary | 0006721: JvDBGrid - incorrect background for check boxes when changing background color for highlighted rows | ||||
Description | Changing the background color for a row using method GetCellParams results in an problem with the background of check boxes. By chance it is correct filled in the wrong color not at all or the title of the field is displayed. Grid option gdRowSelect is used. Themes used | ||||
Steps To Reproduce | 1) Activate themes for app 2) JvDBGrid with a datasource with boolean fields 3) Activate gdRowSelect 4) Change background color using event OnGetCellParam 5) Clicking different rows several times triggers the problem or when grid is focused the first time background is black | ||||
Additional Information | problem is in procedure TJvDBGrid.DrawColumnCell(const Rect: TRect; DataCol: Integer; Column: TColumn; State: TGridDrawState); ca line 3843 instead of if Highlight then DrawThemedHighlighting(Canvas, Rect) else Canvas.FillRect(Rect); using the following code solves the problem for me:_ if not (Highlight and DrawThemedHighlighting(Canvas, Rect)) then Canvas.FillRect(Rect); | ||||
Tags | No tags attached. | ||||