modify one line in a listview ?

Please discuss general Delphi programming topics here.

modify one line in a listview ?

Postby dav999 » July 3rd, 2004, 6:39 pm

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
dav999
Active Member
Active Member
 
Posts: 14
Joined: October 7th, 2003, 3:04 pm

Postby Johnny_Bit » July 4th, 2004, 10:25 am

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
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am

Postby dav999 » July 4th, 2004, 7:02 pm

ok thanks

David
dav999
Active Member
Active Member
 
Posts: 14
Joined: October 7th, 2003, 3:04 pm

Postby dav999 » July 5th, 2004, 12:51 pm

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
dav999
Active Member
Active Member
 
Posts: 14
Joined: October 7th, 2003, 3:04 pm

Postby Johnny_Bit » July 5th, 2004, 2:42 pm

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)
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am

Postby dav999 » July 5th, 2004, 3:14 pm

ok i go see this directory

thx
dav999
Active Member
Active Member
 
Posts: 14
Joined: October 7th, 2003, 3:04 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 0 guests

cron