GUI component interaction: Difference between revisions
Content added Content deleted
(Added Python/Tkinter example) |
|||
Line 205: | Line 205: | ||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |
||
<lang AutoHotkey>GUI, add, Edit,Number w50 vUserInput, 0 ; Number Specifies Numbers-only, but other characters can still be pasted in, |
<lang AutoHotkey>GUI, add, Edit,Number w50 vUserInput gMakeSure, 0 ; Number Specifies Numbers-only, but other characters can still be pasted in, |
||
; Making our own check necessary. (MakeSure) |
; Making our own check necessary. (MakeSure) |
||
Line 211: | Line 211: | ||
GUI, add, Button, gRando, Random |
GUI, add, Button, gRando, Random |
||
Gui, Show, W200 y200, Title ; Shows the GUI with a width and height of 200px |
Gui, Show, W200 y200, Title ; Shows the GUI with a width and height of 200px |
||
SetTimer, MakeSure, 1000 ; Runs MakeSure every second |
|||
return ; End Auto-Execute Section |
return ; End Auto-Execute Section |
||