View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001658 | JEDI VCL | 00 JVCL Components | public | 2004-04-17 07:07 | 2004-04-18 23:08 |
Reporter | cab-dk | Assigned To | user72 | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0001658: TJvDBGrid doesn't display images correct (Memo,Blob etc) | ||||
Description | When setting the property Showglyphs to true the images isn't shown when the grid is in Editormode. Instead all the the columns witj fx. memo is shown as text [Memo] in the whole grid. | ||||
Additional Information | Ihave found the offencing code near line 1978 - if removing the EditorMode test, it works okay: if DefaultDrawing then begin I := GetImageIndex(Field); if (I >= 0) { and not EditorMode} then ***************** begin if Field.DataType = ftBoolean then if Field.AsBoolean then I := Ord(gpChecked) else I := Ord(gpUnChecked); Bmp := GetGridBitmap(TGridPicture(I)); Canvas.FillRect(Rect); DrawBitmapTransparent(Canvas, (Rect.Left + Rect.Right - Bmp.Width) div 2, (Rect.Top + Rect.Bottom - Bmp.Height) div 2, Bmp, clOlive); end else DefaultDrawColumnCell(Rect, DataCol, Column, State); end; | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2004-04-17 07:07 | cab-dk | New Issue | |
2004-04-18 23:08 |
|
Status | new => resolved |
2004-04-18 23:08 |
|
Resolution | open => fixed |
2004-04-18 23:08 |
|
Assigned To | => user72 |
2004-04-18 23:08 |
|
Note Added: 0003939 |