Jump to content

TabControl


EdiSimoes
 Share

Recommended Posts

Boas, depois de algumas tentativas consegui, vai o código se alguém tiver a mesma duvida, fica ai.

 Private Sub mudaTab()
        If txtCodProduto.Text = 50030 Then
            TabControl1.SelectedTab = TabPage1
        Else
            TabControl1.SelectedTab = TabPage2
        End If
    End Sub

EDIT: GeSHi adicionado

Edi Carlos Simões

Estudante de Análise e Desenvolvimento de Sistemas

edisimoes@bol.com.br

http://www.desenvolvenetma.com.br

http://analisedesistemas.bl.ee

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.