Guest User

Untitled

a guest
Jan 17th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. #include <ButtonConstants.au3>
  2. #include <EditConstants.au3>
  3. #include <GUIConstantsEx.au3>
  4. #include <StaticConstants.au3>
  5. #include <WindowsConstants.au3>
  6. #Region ### START Koda GUI section ### Form=C:\Users\Cameron\Documents\Scripting\GUI.kxf
  7. $Form1 = GUICreate("Cameron's Gui", 601, 363, 192, 124)
  8. $Close = GUICtrlCreateButton("Close", 264, 304, 91, 49)
  9. $Input1 = GUICtrlCreateInput(";o", 136, 32, 329, 21)
  10. GUICtrlSetResizing(-1, $GUI_DOCKHCENTER+$GUI_DOCKHEIGHT)
  11. $Input = GUICtrlCreateLabel("Input", 280, 8, 28, 17)
  12. $Randombutton2 = GUICtrlCreateButton("Randombutton2", 368, 304, 91, 49)
  13. $Randombutton1 = GUICtrlCreateButton("Randombutton1", 152, 304, 99, 49)
  14. $Edit1 = GUICtrlCreateEdit("", 136, 64, 329, 217)
  15. GUICtrlSetData(-1, "Edit1")
  16. GUISetState(@SW_SHOW)
  17. #EndRegion ### END Koda GUI section ###
  18.  
  19. While 1
  20. $nMsg = GUIGetMsg()
  21. Switch $nMsg
  22. Case $GUI_EVENT_CLOSE
  23. Exit
  24.  
  25. Case $Input1
  26. EndSwitch
  27. WEnd
Add Comment
Please, Sign In to add comment