PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 269, 119, 192, 124)
$Input1 = GUICtrlCreateInput("", 24, 24, 57, 21)
$Label1 = GUICtrlCreateLabel("+", 88, 24, 10, 17)
$Input2 = GUICtrlCreateInput("", 112, 24, 57, 21)
$Button1 = GUICtrlCreateButton("rechnen", 192, 24, 65, 25, $WS_GROUP)
$Label2 = GUICtrlCreateLabel("Label2", 48, 64, 100, 41)
GUICtrlSetFont(-1, 24, 400, 0, "MS Sans Serif")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
GUICtrlSetData($Label2, (GUICtrlRead($Input1)+GUICtrlRead($Input2)))
EndSwitch
WEnd
um einer input/label whatever einen wert zuzuweisen (in einer gui)
dann benutz du den befehl: GUICtrlSetData ... schau oben den bsp
halt deine $source nutzen...