Autor Beitrag
Experience1986
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 192

Win XP Pro SP2
Delphi 7
BeitragVerfasst: Mi 01.06.05 17:43 
Hi,

gibt es eine Möglichkeit, die Position einer jeden einzelnen Spalte (Column) einer TListView abzuspeichern und wiederherzustellen?

Ich hatte da schon mal was versucht mit

ausblenden Delphi-Quelltext
1:
2:
ListView1.Columns[x].ID;
ListView1.Columns[x].Index;


Aber das wiederherstellen klappte nicht.

Kann ich denn überhaupt bereits angelegte Columns in ihrer Position beeinflussen, oder muss ich anhand der Position die Spalten zur Laufzeit "Sortiert" anlegen?

Über eine schnell Antwort würde ich mich sehr freuen.
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Mi 01.06.05 20:56 
Hallo,

hab was für dich gesucht
:arrow: ListView Columns per Drag+Drop verschieben

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
Experience1986 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 192

Win XP Pro SP2
Delphi 7
BeitragVerfasst: Fr 03.06.05 17:20 
Vielen Dank für deine Antwort, das hat mir sehr geholfen.