Hi all,
As the name suggests, GUICtrlRead seems to return nothing. I hope I'm missing something simple. This is a quick GUI I've put together to demonstrate the problem. The msgbox comes up blank. Any help is greatly appreciated.
#include <GUIConstantsEx.au3>
Opt("GUIOnEventMode", 1)
GUICreate("",500,500)
$edit = GUICtrlCreateEdit("",10,10,100,100)
$accept = GUICtrlCreateButton("accept",200,200)
$input = GUICtrlRead($edit)
GUISetState(@sw_show)
GUISetOnEvent($GUI_EVENT_CLOSE, "close")
GUICtrlSetOnEvent($accept, "accept")
while(1)
sleep(100)
WEnd
func close()
Exit
EndFunc
Func accept()
MsgBox(4096,"",$input)
EndFunc
Please tell me if you need any more information