JamesWilcox Posted February 12, 2007 Posted February 12, 2007 What function can use you to control a spin control in AutoIt v3? I'm having trouble with that. How to you control up and down arrows on a spin control?
BALA Posted February 12, 2007 Posted February 12, 2007 (edited) Do you mean an UpDown control? Perhaps GUICtrlCreateUpdown From help file: Max and min value can be set with GUICtrlSetLimit. #include <GUIConstants.au3> $title = "My GUI UpDown" GUICreate($title,-1,-1,-1,-1, $WS_SIZEBOX) $input = GUICtrlCreateInput ("2",10,10, 50, 20) $updown = GUICtrlCreateUpdown($input) ; Attempt to resize input control GUICtrlSetPos($input, 10,10, 100, 40 ) GUISetState () ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend msgbox(0,"Updown",GUICtrlRead($input)) Edited February 12, 2007 by BALA [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
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