Ich verzweifel langsam, kurze Frage!
Wenn ich die Eingabe von dem Kodi form Feld $Input1 in einer selbst definierten Func verarbeiten möchte, muss ich was genau tun?
Code
#Region ### START Koda GUI section ### Form=C:\Users\Admin\Desktop\\Form1.kxf
$Form1 = GUICreate("Reissdorf V 1.0", 358, 311, 491, 195)
$Input1 = GUICtrlCreateInput("Input1", 8, 24, 137, 21)
$Input2 = GUICtrlCreateInput("Input2", 8, 48, 137, 21)
$Input3 = GUICtrlCreateInput("Input3", 8, 72, 137, 21)
$Input4 = GUICtrlCreateInput("Input4", 8, 96, 137, 21)
$Input5 = GUICtrlCreateInput("Input5", 232, 24, 73, 21)
$Input6 = GUICtrlCreateInput("Input6", 232, 48, 73, 21)
$Input7 = GUICtrlCreateInput("Input7", 232, 72, 73, 21)
$Input8 = GUICtrlCreateInput("Input8", 232, 96, 73, 21)
$PreismaxSK = GUICtrlCreateLabel("SK", 232, 0, 60, 17)
$Spiel = GUICtrlCreateLabel("TestBtn", 8, 0, 36, 17)
$Button1 = GUICtrlCreateButton("Start!", 272, 256, 81, 33)
$Button2 = GUICtrlCreateButton("Stop!", 168, 256, 105, 33)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Hotkeyset("{ESC}", "Terminate")
$Input10 = ("$Input1")
While 1
$msg = GUIGetMsg()
Switch $msg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Alles anzeigen