in my application i have a tabcontrol with two tabs.
when i run the program the focus is on the first tab.

how can i change the focus to the second tab, so the second tab is shown on certain event ?

Recommended Answers

All 3 Replies

In form load event handler tabControl1.SelectedTab = tabControl1.TabPages[1]; it's zero based.

thanks man.

is it same with

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.