thenewkid Posted December 28, 2006 Posted December 28, 2006 Hi is there a way to make this updown not go any lower then 5 and not any higher then 10? thanks #include <GuiConstants.au3> GuiCreate("MyGUI", 175, 194,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $Input_1 = GuiCtrlCreateInput("", 70, 80, 40, 20) $Updown_1 = GUICtrlCreateUpdown($Input_1) GuiSetState() While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;; EndSelect WEnd Exit some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with
Helge Posted December 28, 2006 Posted December 28, 2006 Max and min value can be set with GUICtrlSetLimit.
thenewkid Posted December 28, 2006 Author Posted December 28, 2006 Thank you some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with
martin Posted December 28, 2006 Posted December 28, 2006 (edited) Edit:Didn't see Helge's answer so removed mine as Helge is much better. Edited December 28, 2006 by martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Thatsgreat2345 Posted December 28, 2006 Posted December 28, 2006 Yeah or Guictrlsetlimit alot simpler then your way martin
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