回复 23# cashiba  
 
這是簡單的  檢查核對問題而已.......  不是要求 問個問題  人家要寫到 完全一模一樣  才算問題解決吧............. 
 
依據 上面 你說的 半解決的程式碼.........稍微改一下 不就好了...... 
 
我只能說  人家回答問題.....只能解決你無法解決的關鍵..... 其他 基礎的花心思 就可以做的事情,不應該是回答妳問題的人要解決的 
 
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <GuiEdit.au3>
#include <Array.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 = GUICtrlCreateEdit("", 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
                If _GUICtrlEdit_GetModify($Inputx) = True Then
                        Local $arr = StringSplit($aaa, "/")
                                                _ArrayAdd($arr,"")
                                                _ArrayAdd($arr,"")
                                                _ArrayAdd($arr,"")
                                                _ArrayAdd($arr,"")
                        GUICtrlSetData($Input1, $arr[1])
                        GUICtrlSetData($Input2, $arr[2])
                        GUICtrlSetData($Input3, $arr[3])
                        GUICtrlSetData($Input4, $arr[4])
                                                GUICtrlSetData($Inputx, $arr[1] & "/" & $arr[2] & "/" & $arr[3] & "/" & $arr[4])
                Else
                        GUICtrlSetData($Inputx, GUICtrlRead($Input1) & "/" & GUICtrlRead($Input2) & "/" & GUICtrlRead($Input3) & "/" & GUICtrlRead($Input4))
                EndIf
        EndIf
        
 
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit
        EndSwitch
WEnd
  |