Ciao,
I can't change the view of a tab control page by code
i tried with:
tabControl.TabPages(0).Select()
tabControl.TabPages(0).Focus()
but it does not work
Hi Messere,
Actually, the Select() method is used for the focus and the keyboard, it’s not meant to switch to a TabPage.
Using the SelectedIndex or SelectedTab Property is the correct way to programmatically change the views on a TabControl.
HTH,
Alaa
it works!
Thanks so much!
Hi Messere,
Thank you for reporting this issue.
As a workaround, I would suggest using the SelectedIndex or SelectedTab Property.
Let me know if there’s anything else you would like me to help with.
Best wishes,
Alaa
Please login first to submit.