Autor Beitrag
csigg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Fr 06.05.05 10:22 
Kann mir jemand sagen wie ich die Breite einer ListView Spalte definieren kann??
smiegel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 992
Erhaltene Danke: 1

WIN 7
D7 Prof., C#, RAD XE Prof.
BeitragVerfasst: Fr 06.05.05 10:31 
Hallo,

über die Eigenschaft Width des Columns-Objektes.

Beispiel:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
// 1. Spalte
MyListView.Columns[0].Width:=100;
// 2. Spalte
MyListView.Columns[1].Width:=250;

_________________
Gruß Smiegel
Ich weiß, daß ich nichts weiß, aber ich weiß mehr als die, die nicht wissen, daß sie nichts wissen. (Sokrates)
csigg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Fr 06.05.05 10:35 
ok, Vielen Dank.