if i have 4 tabs 1, 2, 3, 4 how do i make 2, 3, 4 locked until the login button is pressed on tab 1??
Thanks
if i have 4 tabs 1, 2, 3, 4 how do i make 2, 3, 4 locked until the login button is pressed on tab 1??
Thanks
I believe this not to be directly possible. A possible fix would be to add tabpages 2, 3 and 4 once the login is successful.
Select it for On_FormLoad
TabPages2.Enabled = False
TabPages3.Enabled = False
TabPages4.Enabled = False
On the button click
Change it to = True.
Should work, just make sure you put extra code in the Login button to make sure its the right username and password -.-
Why dont you just use another form to login
Liek this? But its a very easy way and I have no Idea if it'll work.Code:Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click Me.Hide() TabPage2.Show() TabPage3.Show() TabPage4.Show() End Sub