olirav Posted May 12, 2010 Share Posted May 12, 2010 Before I begin - I am useless at GUI. Sorry if i'm missing something obvious Am using a modified version of the TCPRecv example file and have encountered a problem, in that the close button does not work. I then went back and tested the original example helpfile script, and that has exaactly the same problem. ??? I know this is caused by a running loop, however there seems to already be the $msg = GUIGetMsg() ..... coding to make it work. So I short how can I fix the help file script. ?????? Oli Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 12, 2010 Share Posted May 12, 2010 The example is trapped in the Do/Until loop until a client connects. Until that happens, the GuiGetMsg() loop is not running. Once a client connects, then closing the GUI should work fine. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
olirav Posted May 14, 2010 Author Share Posted May 14, 2010 The example is trapped in the Do/Until loop until a client connects. Until that happens, the GuiGetMsg() loop is not running. Once a client connects, then closing the GUI should work fine. Thanks thats saved me a headache.Is there anyway to make the exit work regardlessOli Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 14, 2010 Share Posted May 14, 2010 Use event mode for the GUI. See GuiSetOnEvent() in the help file for an example. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now