On Web can the TabIndex of a WebTextField be specified at design time without adding code?
Just getting back into Xojo and haven’t really used Web 2.0 so hopefully these are not dumb questions.
and setting TabIndex in the Shown event doesn’t actually seem to work.
Alan
AlbertoD
(AlbertoD)
June 20, 2025, 2:19pm
2
Yes, see here:
change the order as you need.
If I click on the Pages and select my LoginPage for example, the Tab Order is grayed out. It’s also grayed out if I select Controls, and then try going to View
AlbertoD
(AlbertoD)
June 20, 2025, 2:42pm
4
What happens if you click on a WebTextField? Is it active then?
WebPage selected on the left, grayed out:
WebTextField selected on the page, available:
That worked, Thanks.
Do you know how I can set tabindex for things I create dynamically?
I am building a whole system using dynamically created fields, so I have to get able to set the taborder or tabindex..
Hopefully there is a way or I’m sunk.
Alan
AlbertoD
(AlbertoD)
June 20, 2025, 3:37pm
6
From what I understand each dynamic control added gets a higher tabindex.
I guess that, depending on your design, you need to make sure you add the dynamic controls in the way you want your tabindex.
I hope someone with more knowledge with tabindex can correct me if I’m wrong.
Right now I can add the fields but I can’t seem to see the tabindex and it doesn’t tab correctly
AlbertoD
(AlbertoD)
June 20, 2025, 4:05pm
8
Create an example project, zip it, and upload to the forum, someone may review and give you ideas.
I can create the fields, I just can’t tab from field to field. I saw something about using a Dictionary, so I may try that but if not I’ll try to create a small app and send here. Seems like this should be able to work, so hopefully there is a solution