JohnTWI Posted May 20, 2020 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
Moderators JLogan3o13 Posted May 20, 2020 Moderators 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. Expand 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!
FrancescoDiMuro Posted May 20, 2020 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: Reveal hidden contents ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
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