#include <ComboConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 162, 42, 192, 114)
$Combo1 = GUICtrlCreateCombo("30", 8, 8, 145, 25)
GUICtrlSetData(-1, "1000|3000|5000")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
MsgBox(0,"",GUICtrlRead($Combo1))
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Combo1
Sleep(GUICtrlRead($Combo1))
MsgBox(0,"",GUICtrlRead($Combo1))
EndSwitch
WEnd