| View previous topic :: View next topic |
| Author |
Message |
dav999 Member
Joined: 07 Oct 2003 Posts: 9
|
Posted: 03/07/04 18:39 Post subject: modify one line in a listview ? |
|
|
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 |
|
| Back to top |
|
 |
Johnny_Bit Moderator
Joined: 15 Jun 2003 Posts: 145
|
Posted: 04/07/04 10:25 Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
dav999 Member
Joined: 07 Oct 2003 Posts: 9
|
Posted: 04/07/04 19:02 Post subject: |
|
|
ok thanks
David |
|
| Back to top |
|
 |
dav999 Member
Joined: 07 Oct 2003 Posts: 9
|
Posted: 05/07/04 12:51 Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Johnny_Bit Moderator
Joined: 15 Jun 2003 Posts: 145
|
Posted: 05/07/04 14:42 Post subject: |
|
|
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) |
|
| Back to top |
|
 |
dav999 Member
Joined: 07 Oct 2003 Posts: 9
|
Posted: 05/07/04 15:14 Post subject: |
|
|
ok i go see this directory
thx |
|
| Back to top |
|
 |
|