TListView help
From: Andrew Diabo (aadiabo_at_ix.netcom.com)
Date: 05/25/04
- Next message: Hamada: "Re: Fast-report newsgroup down?"
- Previous message: Andrew Diabo: "Re: Window login for applications"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 25 May 2004 04:35:04 -0400
I am using vsList in TListView and I'm trying to draw an image on a column
based on the value of the subitem. Here's my code so far:
aLi := PluginListView1.Items.Add;
with aLi do begin
Caption := TempCode;
Subitems.Add(desc);
Subitems.Add('0');
Subitems.Add('1');
end;
Now I would like to put in the CustomDraw event to draw a different image if
the value is '0' or '1'. My images are currently in a TImageList. How do I
do this efficiently? Any help is greatly appreciated.
Thanks
Andrew
- Next message: Hamada: "Re: Fast-report newsgroup down?"
- Previous message: Andrew Diabo: "Re: Window login for applications"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]