Advertisement
Guest User

Untitled

a guest
Feb 5th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.64 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=
  7. $Form1 = GUICreate("Form1", 244, 73, 192, 124)
  8. $Input1 = GUICtrlCreateInput("Input1", 16, 16, 161, 21)
  9. $Label1 = GUICtrlCreateLabel("Label1", 16, 48, 36, 17)
  10. $Button1 = GUICtrlCreateButton("Button1", 184, 16, 49, 25)
  11. GUISetState(@SW_SHOW)
  12. #EndRegion ### END Koda GUI section ###
  13.  
  14. While 1
  15.     $nMsg = GUIGetMsg()
  16.     Switch $nMsg
  17.         Case $GUI_EVENT_CLOSE
  18.             Exit
  19.          case $button1
  20.             GUICtrlSetData($Label1,GUICtrlRead($Input1))
  21.  
  22.  
  23.     EndSwitch
  24. WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement