jruelan Posted October 22, 2007 Share 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 Link to comment Share on other sites More sharing options...
zfisherdrums Posted October 22, 2007 Share 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... Link to comment Share on other sites More sharing options...
jruelan Posted October 22, 2007 Author Share 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 Link to comment Share on other sites More sharing options...
smashly Posted October 22, 2007 Share 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 Link to comment Share on other sites More sharing options...
jruelan Posted October 22, 2007 Author Share Posted October 22, 2007 tnx very much for the help Link to comment Share on other sites More sharing options...
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