看看是这样不
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 615, 437, 192, 124)
$Input1 = GUICtrlCreateInput("", 64, 32, 201, 21)
$Input2 = GUICtrlCreateInput("", 64, 80, 201, 21)
$Input3 = GUICtrlCreateInput("", 64, 128, 201, 21)
$Input4 = GUICtrlCreateInput("", 64, 176, 201, 21)
$Inputx = GUICtrlCreateInput("", 64, 240, 500, 89,$ws_border)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
Local $aaa = GUICtrlRead($inputx)
Local $bbb = GUICtrlRead($Input1)&"/"&GUICtrlRead($Input2)&"/"&GUICtrlRead($Input3)&"/"&GUICtrlRead($Input4)
If $aaa <> $bbb Then GUICtrlSetData($inputx,GUICtrlRead($Input1)&"/"&GUICtrlRead($Input2)&"/"&GUICtrlRead($Input3)&"/"&GUICtrlRead($Input4))
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
|