Jump to content

taborder problems


hazed
 Share

Recommended Posts

I have a GUIform that is created and filled in with data from a internal Website.

I would like to control the tabs stops depending upon the data imported. Such as if the data specifies that a widget is requested, I would like it to go to a widget SN field, so it can be scanned in. If the data says a xxx is requested then the cursor goes to the xxx SN field.

I hope I was plain enough.... if not.

Default tabstops:

Input1 - Tabstop 0

Input2 - Tabstop 1

Input3 - Tabstop 2

Input4 - Tabstop 3

-----

If Input1 is blank but input2 has data then

Tabstops are as following

Input1 - Tabstop 2

Input2 - Tabstop 3

Input3 - Tabstop 0

Input4 - Tabstop 1

Thank you

Link to comment
Share on other sites

I have a GUIform that is created and filled in with data from a internal Website.

I would like to control the tabs stops depending upon the data imported. Such as if the data specifies that a widget is requested, I would like it to go to a widget SN field, so it can be scanned in. If the data says a xxx is requested then the cursor goes to the xxx SN field.

I hope I was plain enough.... if not.

Default tabstops:

Input1 - Tabstop 0

Input2 - Tabstop 1

Input3 - Tabstop 2

Input4 - Tabstop 3

-----

If Input1 is blank but input2 has data then

Tabstops are as following

Input1 - Tabstop 2

Input2 - Tabstop 3

Input3 - Tabstop 0

Input4 - Tabstop 1

Thank you

The tab order is determined by the order of creation of the controls, and I am not sure you can change it programmatically.

Maybe you could use HotKeySet("{TAB}","SetFocusTo")

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.
Link to comment
Share on other sites

There is a way to change it, check help file, I never used it but i ran across it the other day... its GuiCtrlSetTab or something like that... Maybe I looked wrong I'd check now but I don' thave autoit and idk who the one is with the online help file...

[center][/center]

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...