Searched the forum and found no answer so far...
I have an UltraTab (Wizard style) with 5 tabs.
On tab2 there are 3 textboxes.
Point is, how can I set the focus to one of the textboxes, when the user goes to that tab?
I tried many options before, including the Paint event...
The more logical way seems to use the ActiveTabChanged event, however it doesn't work.
Honestly is very dissapointing to ask for such a simple task, but after trying a lot, I have no clue!
Thanks in advance!
Gus
You should be able to focus the TextBox in the SelectedTabChanged event.
Mike,
Thanks for your answer.
Using the SelectedTab event works AFTER the form was loaded.
My concern, is how to set the focus on the textbox the first time the form is loaded, given the fact that the textbox is in TabIndex=0
Paint event works, but also brings some collateral effects.
Any help is appreciated!