Hey kann mir wer helfen? Ich möchte das das Ergebnis in der Input 3 am Ende steht
Wie muss ich nun weitermachen?
Hier der Code
Code:
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 639, 344, 193, 125)
$Input1 = GUICtrlCreateInput("", 80, 24, 465, 21)
$Label1 = GUICtrlCreateLabel("+", 304, 72, 36, 17)
$Input2 = GUICtrlCreateInput("", 80, 112, 465, 21)
$Label2 = GUICtrlCreateLabel("=", 296, 152, 52, 17)
$Input3 = GUICtrlCreateInput("", 80, 184, 465, 21)
$Button1 = GUICtrlCreateButton("Rechnen", 96, 248, 441, 65, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
$1 = GUICtrlRead ($Input1)
$2 = GUICtrlRead ($Input2)
$3 = $1 + $2
EndSwitch
WEnd
Kann mir bitte jemand helfen?