[Lazarus] How to draw a progressbar under a column of a listview?

闫程远 yanchengyuan at gmail.com
Sat Apr 11 05:46:13 CEST 2009


hi,all!
i just want to know how to draw a progressbar under a specified column of a
listview.
first i wanted to draw a progressbar.i know there is a method of a TListItem
called "DisplayRect",but whatever i do,the rect it returns is (0,0,0,0)
and whatever i wrote for the drawsubitem/drawitem method it just doesn't
work.
then i tried to put a Tprogressbar under a column,and it failed again.
can anyone help me?

regard,
Yan Chengyuan

-- 
I'm sure that I will win.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20090411/6e63756c/attachment-0007.html>


More information about the Lazarus mailing list