| View previous topic :: View next topic |
| Author |
Message |
biatche
Joined: 23 Feb 2008 Posts: 59
|
Posted: Sat Apr 26, 2008 1:56 pm Post subject: [Help] How do I use Gui +Label?? |
|
|
I need control over my GUI's..
So far I've used
| Code: |
gui +labelsomething
somethingGuiClose:
sdfds
|
doesn't appear to work |
|
| Back to top |
|
 |
Trikster
Joined: 15 Jul 2007 Posts: 1197 Location: Enterprise, Alabama
|
Posted: Sat Apr 26, 2008 2:37 pm Post subject: |
|
|
| Code: | Gui, 1:Add, Edit ; The 1: can be omitted as it is the default.
Gui, 99: Add, Edit
Gui, 1:Show ; The 1: can be omitted as it is the default.
Gui, 99:Show
Return
99GuiClose: ; GUI 99 was closed
MsgBox, GUI 99 has been closed.
Return
GuiClose: ; The Main GUI was closed.
MsgBox, Main GUI has been closed. |
_________________ ScriptPad | ~dieom | dieom | izwian2k7 | Ian | God |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 6086
|
Posted: Sat Apr 26, 2008 2:37 pm Post subject: |
|
|
The following works for me:
| Code: | Gui 1:+labelMyGui
Gui 2:+labelMyGui
Gui,1:Show, x0 y0 w640 h480, Gui 1
Gui,2:Show, w640 h480, Gui 2
Return
MyGuiClose:
MsgBox, sdsad |
 |
|
| Back to top |
|
 |
biatche
Joined: 23 Feb 2008 Posts: 59
|
Posted: Sat Apr 26, 2008 5:34 pm Post subject: |
|
|
| thanks |
|
| Back to top |
|
 |
|