What I want to do is set the focus to a specific control (in particular TextBox) on the tab when this page is selected.
I tried to trigger Focusduring the Selected event containing the tab control, but this does not work. After that, I tried to call focus during the event of VisibleChangedthe control itself (with a check that I did not focus on the invisible control), but this also does not work.
Searching on this site, I came across this question , but this also does not work. Although after that I noticed that calling the Focuscontrol does it ActiveControl.
source
share