vick Posted July 10, 2017 Share Posted July 10, 2017 Hi, I have combo box with values of Alberta, Columbia, Manitoba,Foundland etc. so whe i send ControlSend command with string let's say manitoba. it types manitoba in combo box but because of last character "a" of string it change selection to Alberta. i tried ControlCommand with selectstring also but same result. can you help me how to fix it? thanks Link to comment Share on other sites More sharing options...
Developers Jos Posted July 10, 2017 Developers Share Posted July 10, 2017 Try ControlSetText() instead. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
vick Posted July 10, 2017 Author Share Posted July 10, 2017 i tried it as well but no luck. my question is how to avoid as you type selection change in combo box? Link to comment Share on other sites More sharing options...
vick Posted July 10, 2017 Author Share Posted July 10, 2017 By the way, i have fixed it. i used _GUICtrlComboBox_SelectString and it worked. thanks, 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