Jump to content
oliveira1991

Web Browser avançado duvidas

Recommended Posts

oliveira1991

Boas!

estou a fazer um web browser avançado e na ha uma linha de codigo para remover um tab que me está a dar erro vejam(é a linha que está assinalada!

If Not TabControl1.TabPages.Count = 1 Then
            TabControl1.TabPages.RemoveAt(TabControl1.SelectedIndex)
          TabControl1.SelectedTab(TabControl1.TabPages.Count - 1)
            int = int - 1
        End If


Live for ever

Share this post


Link to post
Share on other sites
Caça

Até nem deves precisar dessa linha de código porque ao eliminares a Tab seleccionada, automaticamente a Tab anterior fica seleccionada.


Pedro Martins

Não respondo a duvidas por PM

Share this post


Link to post
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

×
×
  • 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.