AustrianOak Posted July 8, 2008 Posted July 8, 2008 how to i disable a user from manually typing data in my updown control. what if i just want them to use the arrows on the control. how can this be achieved?
Airwolf Posted July 8, 2008 Posted July 8, 2008 (edited) how to i disable a user from manually typing data in my updown control. what if i just want them to use the arrows on the control. how can this be achieved?UpdownConstants.au3 doesn't include anything like that, but you could always just validate the input. When a user changes it to a value that you haven't specified, you can just delete it or throw a MsgBox in their face. muttleyEDIT: I haven't tried this, but you should be able to use the $ES_READONLY attribute for the input box that you create the UpDown control from. Edited July 8, 2008 by Airwolf Certifications: A+, Network+, Security+, Linux+, LPIC-1, MCSA | Languages: AutoIt, C, SQL, .NETBooks: AutoIt v3: Your Quick Guide - $7.99 - O'Reilly Media - September 2007-------->[u]AutoIt v3 Development - newbie to g33k[/u] - Coming Soon - Fate Publishing - Spring 2013UDF Libraries: SkypeCOM UDF Library | ADUC Computers OU Cleanup | Find PixelChecksumExamples: Skype COM Examples - Skype4COMLib Examples converted from VBS to AutoIt
AustrianOak Posted July 8, 2008 Author Posted July 8, 2008 Adding $ES_READONLY worked but I wish it wouldn't have changed the color. Thanks Airwolf
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