Page 1 of 1
modify one line in a listview ?

Posted:
July 3rd, 2004, 6:39 pm
by dav999
hello
i have a listview + Delphi 6, and i would know, if it's possible to modify the heigth property for each line of my listview ?
if it's possible for :
- one line
- All lines
excuse for my english
thanks
David

Posted:
July 4th, 2004, 10:25 am
by Johnny_Bit
it is possible! of course it's not as taft as it seems... simply use OwnerDraw/MeasureItem events. currently i don't heve delphi nearby, so i'm unable to make example for you

Posted:
July 4th, 2004, 7:02 pm
by dav999
ok thanks
David

Posted:
July 5th, 2004, 12:51 pm
by dav999
i have search with google an exemple, i find only 1 correct response, and it's not complete with a listview, but with listbox it's not a problem it's verry easy, but i would a listview if it's possible !
if you can give me an exemple with a listview ? Please
Thanks
David

Posted:
July 5th, 2004, 2:42 pm
by Johnny_Bit
I think, that demo is in Examples directory in your's delphi root dir, but i'm not sure. Besides you have answer, just try do it yourself! It do help.
Example? If you can give me broadband access to internet on my home computer, then no problem, but in here nearest delphi is 1km away (i do not write code just from memory, if i'm unsure about the caling method and documentation)

Posted:
July 5th, 2004, 3:14 pm
by dav999
ok i go see this directory
thx