I add my tab pages at runtime, I am trying to select a tab from a sub.
This is how i generate my tabs
Code:
Dim tp As New TabPage("User Management") Dim f2 As New fmUserManagement f2.TopLevel = False ' REQUIRED f2.FormBorderStyle = Windows.Forms.FormBorderStyle.None ' optional f2.Dock = DockStyle.Fill ' optional tp.Controls.Add(f2)
Leave a comment: