jruelan Posted October 22, 2007 Posted October 22, 2007 hello good day! just want to ask how to disable the editing of texts in the combo box... tnx very much
zfisherdrums Posted October 22, 2007 Posted October 22, 2007 Hello jruelan,This will disable editing of any kind...WinActivate( "Application" ) ControlFocus( "Application" , "", "ComboBox1" ) ControlDisable( "Application" , "", "ComboBox1" )...though it probably is overkill, isn't it? Identify .NET controls by their design time namesLazyReader© could have read all this for you. Unit Testing for AutoItFolder WatcherWord Doc ComparisonThis here blog...
jruelan Posted October 22, 2007 Author Posted October 22, 2007 but i dont want to disable the combo box, only the text part of the combo box. the user can only click the drop down of the combo box and choose data from it and no editing of the selected text
smashly Posted October 22, 2007 Posted October 22, 2007 Hi, If you mean a combobox created with AutoIt you can use..GUICtrlCreateCombo("Text", 10, 10, 90, 20, $CBS_DROPDOWNLIST) Cheers
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