JohnTWI Posted May 20, 2020 Share Posted May 20, 2020 (edited) Question I am selecting a Dialog List value, the selection of the list value then refreshes an associated text box ( that value is then used in a view search). I am able select the Dialog list value, but I am not having any luck with refreshing the associated Text Box. Sample of ControlCommand that is able to select the list box value. ControlCommand("", "", "[CLASS:ComboBox; INSTANCE:1]","SetCurrentSelection", 3 ) ;the name of the window is blank Screen shot of GUI attached Thank you in advance any help Edited May 20, 2020 by JohnTWI Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 20, 2020 Moderators Share Posted May 20, 2020 (edited) Moved to the appropriate forum, as the Developer General Discussion forum very clearly states: Quote General development and scripting discussions. Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums. Moderation Team Edited May 20, 2020 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted May 20, 2020 Share Posted May 20, 2020 @JohnTWI Did you try activating the GUI with WinActivate() function? You could even try ControlCommand() with "SelectString" option instead of "SetCurrentSelection" Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette 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