Jump to content

how can make a control losing the focus?

Recommended Posts


one can focus to a control with ControlFocus. I am interesting the contra one, i.e. make a element lose the focus! How can I do that?

thanks in advance for any tips!


You could always use ControlFocus to give focus to a different control

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to post
Share on other sites

show us your sript... so we can better understand and help you


Sorry, I have not attached the script, because

1. I do not use the AutoIt-Basic directly, I call them from Python Script

2. the AutoIt do not see our custom control (grids), so I like to lose the focus at first and go a cell blindly, in order to move the cursor to the needed cell!

any Tips?

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...