#include <GUIConstantsEx.au3>
#include <UpdownConstants.au3>
Global $iStep = 5, $iMin = 0, $iMax = 100, $iStart = Random($iMin, $iMax, 1)
$hGui = GUICreate('Updown', 200, 150)
$nInputHide = GUICtrlCreateInput($iStart, 140, 30, 10, 30)
$nUpdown = GUICtrlCreateUpdown(-1, $UDS_WRAP)
GUICtrlSetLimit(-1, $iMax, $iMin);$iMax * $iStep --> $iMin * $iStep
$nInputShow = GUICtrlCreateInput($iStart * $iStep, 50, 35, 82, 20)
GUISetState()
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
MsgBox(64, 'nInputShow', 'Value = ' & GUICtrlRead($nInputShow), 0, $hGui)
Exit
Case $nUpdown
GUICtrlSetData($nInputShow, GUICtrlRead($nInputHide) * $iStep)
EndSwitch
WEnd