Post by KHA » 25 Aug 2019, 17:17
Hallo,
wie kann man bei einer Listview, feste Zeilennummer einfügen, d.h. man soll die Spalten 2,3.. usw. sortieren, aber Spalte1 bleibt unverändert. Also, 1,2,3,..
vielen Danke und vielen Gruß im Vorraus.
Code: Select all
data =
(
Name, Extension, Location
Name, Extension, Location
Name, Extension, Location
Name, Extension, Location
Name, Extension, Location
Name, Extension, Location
Name, Extension, Location
Name, Extension, Location
)
Gui, add, listview, w300 r10 , Name|Extension|Location
Gui, show
loop, parse, data, `n
{
x :=[]
loop, parse, A_LoopField, CSV
x.Insert(A_LoopField)
LV_Add("", x*)
}
LV_ModifyCol()
return
Hallo,
wie kann man bei einer Listview, feste Zeilennummer einfügen, d.h. man soll die Spalten 2,3.. usw. sortieren, aber Spalte1 bleibt unverändert. Also, 1,2,3,..
vielen Danke und vielen Gruß im Vorraus.
[code]data =
(
Name, Extension, Location
Name, Extension, Location
Name, Extension, Location
Name, Extension, Location
Name, Extension, Location
Name, Extension, Location
Name, Extension, Location
Name, Extension, Location
)
Gui, add, listview, w300 r10 , Name|Extension|Location
Gui, show
loop, parse, data, `n
{
x :=[]
loop, parse, A_LoopField, CSV
x.Insert(A_LoopField)
LV_Add("", x*)
}
LV_ModifyCol()
return[/code]