AutoHotkey Community

It is currently May 27th, 2012, 1:26 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: November 20th, 2009, 7:43 am 
Offline

Joined: July 20th, 2009, 11:27 pm
Posts: 40
im creating a 2nd gui as a settings dialog. im trying to figure out how to hide the 2ng gui without hiding the first.


gui 2:,submit doesnt work
gui 1:,show doesnt work

Code:
settings:
   Gui 2:+Owner
   gui 2: add, text, y30, Do you want this to auto lauch?
   gui 2: add, checkbox, y50 x10 vauto, Enable Auto Lauch
   gui 2:add,button, gSave, Save
   gui 2: Show
   
save:
   Gui, submit ;just closes both guis
   Gui, show ;opens both guis up
return


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 20th, 2009, 8:00 am 
Offline

Joined: June 12th, 2009, 11:36 pm
Posts: 1173
Location: Indianapolis IN, USA
Tested.
Code:
Gui 2:+Owner
   gui 2: add, text, y30, Do you want this to auto lauch?
   gui 2: add, checkbox, y50 x10 vauto, Enable Auto Lauch
 gui 2:add,button, gSave, Save
   gui 2: Show
   Return
   
save:
   Gui, 2:submit
return

_________________
www.AutoHotkey.net/~Eedis
I love my wife and daughter so much.
Image


Last edited by Eedis on November 20th, 2009, 8:01 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 20th, 2009, 8:00 am 
some variation of this
Code:
settings:
   Gui 2:+Owner
   gui 2: add, text, y30, Do you want this to auto lauch?
   gui 2: add, checkbox, y50 x10 vauto, Enable Auto Lauch
   gui 2:add,button, gSave, Save
   gui 2: Show
return

save:
   Gui, 2:submit
return


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 20th, 2009, 8:02 am 
Offline

Joined: June 12th, 2009, 11:36 pm
Posts: 1173
Location: Indianapolis IN, USA
Wow, we posted the same answer at the same time. O.O

_________________
www.AutoHotkey.net/~Eedis
I love my wife and daughter so much.
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 20th, 2009, 8:08 am 
Offline

Joined: July 20th, 2009, 11:27 pm
Posts: 40
thanks, i didnt see an example for that so i guessed the syntax.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 20th, 2009, 3:53 pm 
Offline

Joined: October 7th, 2006, 4:50 pm
Posts: 3157
Location: MN, USA
Creating Multiple GUI Windows


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: iDrug, Ohnitiel and 26 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group