Archive for March 30th, 2009

WinForms – Change The Active Tab

misc_vol2_056 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?”

Read the rest of this entry »

Bear