Hallo,
ich möchte ein ComboControl in einer GUI mit Daten aus einer .Ini Datei füllen
C
#include
#include
#include
#Region ### START Koda GUI section ### Form=H:\Documents\Autoit\Scripts\Aktuell\Fall.kxf
$Fall = GUICreate("Fall", 629, 484, 926, 321)
GUISetIcon("C:\Windows\System32\shell32.dll", -246)
$Akte = GUICtrlCreateCombo("Akte", 8, 16, 177, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
$Datenuebernahme = GUICtrlCreateButton("Datenuebernahme", 232, 408, 169, 33)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Akte
$Imageanzahl = IniRead ( "L:\Fall.ini", "Config", "LastSektion", "0" )
For $m = 1 To $Imageanzahl Step 1
$Az = IniRead ( "L:\Fall.ini", "Allgemein", "Akte", "" )
GUICtrlSetData ( $Akte, $Az, $m )
Next
Case $Datenuebernahme
Datenuebernahme ()
EndSwitchWEnd
Alles anzeigen
Die Funktion Datenübernahme funktioniert. Nur das ComboControl bleibt leer. Was mache ich denn da falsch?
Danke vorab.