AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Help] How do I use Gui +Label??

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
biatche



Joined: 23 Feb 2008
Posts: 59

PostPosted: Sat Apr 26, 2008 1:56 pm    Post subject: [Help] How do I use Gui +Label?? Reply with quote

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
View user's profile Send private message
Trikster



Joined: 15 Jul 2007
Posts: 1197
Location: Enterprise, Alabama

PostPosted: Sat Apr 26, 2008 2:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 6086

PostPosted: Sat Apr 26, 2008 2:37 pm    Post subject: Reply with quote

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


Smile
Back to top
View user's profile Send private message
biatche



Joined: 23 Feb 2008
Posts: 59

PostPosted: Sat Apr 26, 2008 5:34 pm    Post subject: Reply with quote

thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group