So hallo alle miteinander, ich bin seit paar tagen damit beschäftigt mir ein kleines Programm zu schreiben um paar sachen zu speichern
ich komme aber absolut nicht weiter
hier mal der quellcode
Spoiler anzeigen
#include <GUIConstants.au3>
#include <Timers.au3>
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=c:\users\marko\desktop\gameforge\form1.kxf
Opt("GUIOnEventMode", 1)
$Form1_1 = GUICreate("Verwaltung", 800, 600, 212, 125)
$Time = GUICtrlCreateLabel("", 650, 4, 80, 20)
GUICtrlSetColor(-1, 0x008000)
GUISetState(@SW_SHOW)
GUICtrlSetFont(-1, 10, 800, 0, "Arial Narrow")
$Timer1= _Timer_SetTimer($Form1_1, 1000, "_UpdateStatusBarClock")
Func _UpdateStatusBarClock($hWnd, $Msg, $iIDTimer, $dwTime)
#forceref $hWnd, $Msg, $iIDTimer, $dwTime
GUICtrlSetData($Time, StringFormat("%02d:%02d:%02d", @HOUR, @MIN, @SEC))
EndFunc
Func _exit()
Exit
EndFunc ;==>_exit
GUISetOnEvent(-3, "_exit")
GUICtrlCreateTab(3, 3, 797, 595)
GUICtrlCreateTabItem("Angaben")
$Label1 = GUICtrlCreateLabel("Charname:", 40, 40, 84, 17)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Char = GUICtrlCreateInput("", 150, 40, 153, 21)
$Label2 = GUICtrlCreateLabel("Accountname:", 399, 40, 101, 20)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$ACC = GUICtrlCreateInput("", 500, 40, 129, 21)
$Label3 = GUICtrlCreateLabel("Server:", 40, 72, 110, 17)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Server = GUICtrlCreateCombo("", 150, 72, 105, 25)
GUICtrlSetData(-1, "1|2|3|4|")
$erstellen = GUICtrlCreateButton("Eintragen", 40, 500, 97, 33, 0)
GUICtrlCreateTabItem("Account")
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Erstmal muss ich immer auf den 2ten Tab klicken und dann wieder zum ersten bevor dieser etwas anzeigt, dann hätte ich es gerne das wenn ich bei charname und acc ,server usw was eintrage und dann auf eintragen klicke das er mir eine txt datei mit den eingegebenen werten anlegt und als name dann zb der acc name.später füge ich noch mehr hinzu aber is jetzt nur damit ich verstehe wie das ganze funktioniert...