 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Eklipse91 Guest
|
Posted: Fri Aug 22, 2008 9:15 pm Post subject: Toying with GUIs |
|
|
I am just playing around with GUIs to get familiar with them what I am doing is about as basic as you can get. All I want is a box to open with an "ok" button that when clicked closes the window. The script I am using is the following:
| Code: | Gui, Add, Button, , OK
Gui, Show, AutoSize Center
ButtonOK:
ExitApp |
The problem is that it does not wait for me to click the button for it to exit it simply opens and closes. What am I doing wrong? |
|
| Back to top |
|
 |
BoBo² Guest
|
Posted: Fri Aug 22, 2008 10:07 pm Post subject: |
|
|
| Code: | Gui, Add, Button, gButton, OK
Gui, Show, AutoSize Center
Return
Button:
ExitApp |
|
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|