Sign in to follow this  
Followers 0
jacQues

Best way to enable Ctrl-Tab for standard Tab control?

4 posts in this topic

I've got an AU3 that works fine, but I noticed that the keys Ctrl-Tab and Ctrl-Shift-Tab behave just as if Ctrl wasn't pressed. E.G. focus moved to the next control instead of the next TabItem.

So now my question as to how best to make Ctrl-Tab work the way it works in standard Windows software. I can see a few options, but neither work and/or appeal to me.

a) Use a Style or Extended Style code. I couldn't find anything in the documentation.

:) Use GUIGetMsg(). There is no direct event for Ctrl-Tab...I think.

c) Use GUIRegisterMsg(). Never used this and "looks scary".

d) Use HotKeySet(). Very messy solution IMHO.

Maybe I missed something and its very simple to do. lol I'm an amateur when it comes to AutoIt, so all input is welcome.

jacQues

Share this post


Link to post
Share on other sites



Take a look at _GUICtrlTabSetCurFocus ()...

Share this post


Link to post
Share on other sites

Had same problem. Just waited such amount - Sleep(100)

Share this post


Link to post
Share on other sites

Just in case there's something else, you didn't show us how you're using Send. I've seen people try

Send("{CTRL}{TAB}") which is press Ctrl, let go of Ctrl, press Tab, let go of Tab key.

So if that is what you've done you need

Send("^{TAB}")

or

Send("^+{TAB}")


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

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