Guest User

Untitled

a guest
Feb 9th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.73 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", 531, 536, 2330, 315)
  8. $name = GUICtrlCreateInput("Bitte Land eingeben...", 160, 96, 201, 21)
  9. $button1 = GUICtrlCreateButton("Button1", 160, 128, 201, 33)
  10. $label1 = GUICtrlCreateLabel("Bitte Land eingeben", 160, 64, 204, 17)
  11. $label2 = GUICtrlCreateLabel("Label2", 40, 232, 332, 273)
  12. GUISetState(@SW_SHOW)
  13. #EndRegion ### END Koda GUI section ###
  14.  
  15. While 1
  16.     $nMsg = GUIGetMsg()
  17.     Switch $nMsg
  18.         Case $GUI_EVENT_CLOSE
  19.             Exit
  20.  
  21.    Case $button1
  22.  
  23.    GUICtrlSetData($label2,$name)
  24.    
  25.    EndSwitch
  26.    
  27. WEnd
Add Comment
Please, Sign In to add comment