How do I activate a page in a tab control?

To activate a page in a tab control, you need to store a reference to the page you want to activate in the tab control's SelectedTab property.

For example, in C#:

this.TabControl.SelectedTab = this.ListPage;

And in VB .NET:

Me.TabControl.SelectedTab = Me.ListPage

© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 07/05/04
Comment or report problem with topic