View Issue Details

IDProjectCategoryView StatusLast Update
0004880JEDI VCL00 JVCL Componentspublic2009-09-22 16:52
ReporterBrianAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0004880: JvListview CustomDrawItem not working
Descriptionprocedure TForm7.ListView10CustomDrawItem(Sender: TCustomListView;
  Item: TListItem; State: TCustomDrawState; var DefaultDraw: Boolean);
begin
  ListView10.Canvas.Brush.Color := RGB(209,236,249);
  JvListView1.Canvas.Brush.Color := RGB(209,236,249);
end;

Check the screenshot. JvListView won't paint the items (2nd one)
TagsNo tags attached.

Activities

2009-07-31 22:34

 

obones

2009-08-03 11:35

administrator   ~0015898

Please provide the zipped sources of a sample application showing this.

2009-08-26 22:17

 

listview test.zip (3,325 bytes)

Brian

2009-08-26 22:17

reporter   ~0016019

zip added

obones

2009-09-22 16:52

administrator   ~0016145

You should use the Item's brush, just like this:

  TJvListItem(Item).Brush.Color := RGB(209,236,249);

Issue History

Date Modified Username Field Change
2009-07-31 22:34 Brian New Issue
2009-07-31 22:34 Brian File Added: Cropped Capture - 00061.jpg
2009-08-03 11:35 obones Note Added: 0015898
2009-08-03 11:35 obones Status new => feedback
2009-08-26 22:17 Brian File Added: listview test.zip
2009-08-26 22:17 Brian Note Added: 0016019
2009-09-22 16:52 obones Note Added: 0016145
2009-09-22 16:52 obones Status feedback => resolved
2009-09-22 16:52 obones Resolution open => no change required
2009-09-22 16:52 obones Assigned To => obones