 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
mitre
Joined: 25 Mar 2008 Posts: 3
|
Posted: Sat Jun 21, 2008 5:14 pm Post subject: Reset variables gui |
|
|
I want to reset variables gui after the first call to bring them to zero in the second call. But do not change.
I would not use the gui destroy to consume fewer resources.
| Code: |
;
Gui, Add, DateTime, x36 y40 w100 h20 vFecha
Gui, Add, CheckBox, x36 y80 w100 h30 vLuz, Luz
Gui, Add, CheckBox, x36 y105 w100 h30 vGas, Gas
Gui, Add, CheckBox, x36 y130 w100 h30 vCable, Cable
;
Gui, Add, CheckBox, x256 y80 w100 h30 vtck, ticket
Gui, Add, CheckBox, x256 y105 w100 h30 vrcb, recibo
Gui, Add, CheckBox, x256 y130 w100 h30 vfct, factura
;
Gui, Add, Button, default xm, Enviar
^!m::
Luz =
Gas =
cable =
tck =
rcb =
fct =
Gui, Show,
Return
GuiClose:
ExitApp
ButtonEnviar:
Gui, Submit |
|
|
| Back to top |
|
 |
Rhys
Joined: 17 Apr 2007 Posts: 722 Location: Florida
|
Posted: Sat Jun 21, 2008 6:01 pm Post subject: |
|
|
Replace: | Code: | Luz =
Gas =
cable =
tck =
rcb =
fct = | With: | Code: | GuiControl,,Luz,0
GuiControl,,Gas,0
GuiControl,,cable,0
GuiControl,,tck,0
GuiControl,,rcb,0
GuiControl,,fct,0 |
_________________ [Join IRC!]
 |
|
| Back to top |
|
 |
mitre
Joined: 25 Mar 2008 Posts: 3
|
Posted: Sat Jun 21, 2008 6:31 pm Post subject: |
|
|
| Gracias |
|
| 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
|