Aceguy Posted June 10, 2006 Posted June 10, 2006 Hello, i would like to set the increment of the UPDOWN spinner to a different value other than 1. i.e. 0 - 5 - 10 - 15 - 20 - 25 and so on. Any ideas. TY. [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock
Thatsgreat2345 Posted June 10, 2006 Posted June 10, 2006 (edited) i got it to work for only going up but im trying to get it to work going down well whatever ill have to think of some way if u need it to go down but i just modified my script for a dif thing i did today #include <GUIConstants.au3> #include <File.au3> $current = 1 ; == GUI generated with Koda == $Form1 = GUICreate("AForm1", 622, 441, 192, 125) $browse = GUICtrlCreateButton("Browse", 16, 8, 49, 25) $run = GUICtrlCreateInput("", 80, 8, 161, 21, -1, $WS_EX_CLIENTEDGE) GUICtrlCreateLabel("Hour", 24, 48, 27, 17) $time = GUICtrlCreateInput("", 56, 48, 113, 21, -1, $WS_EX_CLIENTEDGE) $changetime = GUICtrlCreateUpdown($time) GUICtrlCreateLabel("Minute", 24, 80, 36, 17) $minute = GUICtrlCreateInput("", 72, 80, 97, 21, -1, $WS_EX_CLIENTEDGE) $changeminute = GUICtrlCreateUpdown($minute) $save = GUICtrlCreateButton("Save",72,110) GUISetState(@SW_SHOW) While 1 $current = GUICtrlRead($time) $msg = GUIGetMsg() If $msg = $browse Then GUICtrlSetData($run,FileOpenDialog("Choose what to Run","","Executables (*.exe)")) $prog = 1 EndIf If $msg = $changetime Then GUICtrlSetData($time,GUICtrlRead($time) + 4) EndIf If $msg = $changeminute Then GUICtrlSetData($minute,GUICtrlRead($minute) + 4) EndIf If $msg = $GUI_EVENT_CLOSE then Exit WEnd Edited June 10, 2006 by thatsgreat2345
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now