 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
dwjp90
Joined: 20 Jul 2009 Posts: 40
|
Posted: Fri Nov 20, 2009 6:43 am Post subject: Gui submit with multiple guis |
|
|
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 |
|
|
| Back to top |
|
 |
Eedis
Joined: 12 Jun 2009 Posts: 1158 Location: Indianapolis IN, USA
|
Posted: Fri Nov 20, 2009 7:00 am Post subject: |
|
|
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.

Last edited by Eedis on Fri Nov 20, 2009 7:01 am; edited 1 time in total |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Nov 20, 2009 7:00 am Post subject: |
|
|
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
|
|
|
| Back to top |
|
 |
Eedis
Joined: 12 Jun 2009 Posts: 1158 Location: Indianapolis IN, USA
|
Posted: Fri Nov 20, 2009 7:02 am Post subject: |
|
|
Wow, we posted the same answer at the same time. O.O _________________ www.AutoHotkey.net/~Eedis
I love my wife and daughter so much.
 |
|
| Back to top |
|
 |
dwjp90
Joined: 20 Jul 2009 Posts: 40
|
Posted: Fri Nov 20, 2009 7:08 am Post subject: |
|
|
| thanks, i didnt see an example for that so i guessed the syntax. |
|
| Back to top |
|
 |
jaco0646
Joined: 07 Oct 2006 Posts: 3113 Location: MN, USA
|
|
| 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
|