Sign in to follow this  
Followers 0
hmsSurprise

QWidget77

2 posts in this topic

#1 ·  Posted (edited)

Was working with an ODBC connector window text box named QWidget77 and was having difficulty getting text into it. ControlSend and ControlSetText both returned a 1 but didn't post the string. Send returned a zero. I could set and get focus too. Finally I ControlClicked the box just b4 ControlSend and the text went in just fine.

Thought that unusual and unnecessary as I had gained focus and the fact that ControlSend has the controlID in it.

Is this unusual?

jh

Edit:

Actually Send works just fine for all in the group, just had to ControlClick each one first. ControlFocus had no effect.

Edited by hmsSurprise

Share this post


Link to post
Share on other sites

Depends on how the program is build :shocked: (Is my best guess) Like some buttons need to have focus before you can click em...


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0