$file = FileOpen("libraries/stadt.txt", 0)
$stadtkom = StringSplit(FileReadLine($file), ";")
FileClose($file)
$file1 = FileOpen("libraries/groesse.txt", 0)
$groessekom = StringSplit(FileReadLine($file1), ";")
FileClose($file1)
$file2 = FileOpen("libraries/spieler.txt", 0)
$spielerkom = StringSplit(FileReadLine($file2), ";")
FileClose($file2)
$file3 = FileOpen("libraries/punkte.txt", 0)
$punktekom = StringSplit(FileReadLine($file3), ";")
FileClose($file3)
$file4 = FileOpen("libraries/allianz.txt", 0)
$allianzkom = StringSplit(FileReadLine($file4), ";")
FileClose($file4)
$file5 = FileOpen("libraries/coord.txt", 0)
$coordkom = StringSplit(FileReadLine($file5), ";")
FileClose($file5)
$file6 = FileOpen("libraries/general.txt", 0)
$generalkom = StringSplit(FileReadLine($file6), ";")
FileClose($file6)
$count = Ubound($generalkom)
Dim $ListView5[$count + 1]
$Form1 = GUICreate("Form1", 754, 538, 194, 125)
$Label1 = GUICtrlCreateLabel("Suche", 24, 24, 51, 17)
$Feld = GUICtrlCreateCombo("", 24, 48, 97, 25)
GUICtrlSetData(-1, "Spieler|Stadt|Größe|Allianz|Punkte|Insel|General" )
$operatorcom = GUICtrlCreateCombo("", 128, 48, 98, 25)
GUICtrlSetData(-1, "gleich|größer|kleiner|nicht gleich|")
$wertinput = GUICtrlCreateInput("", 232, 48, 98, 21)
$newsearch = GUICtrlCreateButton("neue Suche", 352, 48, 90, 25, 0)
$search = GUICtrlCreateButton("weiter suchen", 440, 48, 90, 25, 0)
$progressbar2 = GUICtrlCreateProgress(24, 75, 200, 20)
$Label3 = GUICtrlCreateLabel("Ergebnisse", 64, 104, 56, 17)
$ListView1 = GUICtrlCreateListView("Spieler|Stadt|Größe|Allianz |Punkte|Insel|General", 24, 136, 705, 377)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 95)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 1, 95)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 2, 95)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 3, 95)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 4, 95)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 5, 95)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 5, 95)
$i = 1;
While $i < $count
$i = $i + 1
$total = $total + 1;
WEnd
$Label2 = GUICtrlCreateLabel($total, 24, 104, 36, 17)
;''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''
Dim $ListView5[$total + 2]
$count = UBound($generalkom)
$i = 2;
While $i < $count
$ListView5[$i] = GUICtrlCreateListViewItem($spielerkom[$i] & "|" & $stadtkom[$i] & "|" & $groessekom[$i] & "|" & $allianzkom[$i] & "|" & $punktekom[$i] & "|" & $coordkom[$i] & "|" & $generalkom[$i], $ListView1)
$i = $i + 1
WEnd
GUIRegisterMsg($WM_NOTIFY, "WM_NOTIFY")
GUISetState(@SW_SHOW)
|