Jump to content

Recommended Posts

Posted (edited)

Boas Pessoal.

Estou com um pequeno problema, criei um sistema de abas dinamicamente num tabcontrol mas agora tenho problema de as fechar.

		Dim tabpage2 As New TabPage
	tabpage2.Text = "Compras"
	TabControl1.Controls.Add(tabpage2)

	Dim Compras As New Compras
	Compras.TopLevel = False
	tabpage2.Controls.Add(Compras)
	Compras.Show()

o código que utilizei para criar as abas.

é possível fecha-lo directamente na aba, ou num botão a parte.

obg.

Edited by Caça
GeSHi

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.