Posts Tagged ‘selectedindex’
WinForms – Change The Active Tab
This question came in last Friday:
I’m trying to code a windows form in vb.net 2005. In my form I have 2 TabControls and a command button. The button is in the first TabControl, so what I want to do, is that when I click the button, in the first TabControl, the second TabControl gets opened.
I’m assuming here that what is really being asked is, “How do I change the active tab in a TabControl from some other event, like a button click in a tab?”
Republished by Blog Post Promoter