Hi,
I want to make a func to clean one or more inputbox on click. My script:
#include <GUIConstants.au3>
$Form1 = GUICreate("Form1", 242, 99)
$Input1 = GUICtrlCreateInput("Some text", 40, 24, 121, 21)
$Input2 = GUICtrlCreateInput("", 40, 50, 121, 21)
$btn1 = GUICtrlCreateButton("Initial focus", 180, 70)
GUICtrlSetState($btn1, $GUI_Focus)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
_Focus($Form1, $Input1, "")
WEnd
Func _