problem after tabpages.clear

  • Thread starter Thread starter toufik
  • Start date Start date
T

toufik

Hi,
In a vb.net windows application, I manage a tabcontrol by code (re-create
the tabpages)

After The tabpages are setted, when I recreate them I've the form that can't
be close (using the windows close button top-right, or using the code)

The folowing code line is doing the problem

myTabcontrol.tabpages.clear()/

any idea please?

Thanks/
 
toufik said:
In a vb.net windows application, I manage a tabcontrol by code (re-create
the tabpages)

After The tabpages are setted, when I recreate them I've the form that
can't
be close (using the windows close button top-right, or using the code)

The folowing code line is doing the problem

myTabcontrol.tabpages.clear()/

Maybe it's one of the variations of this bug:

Windows Forms Bug
<URL:http://www.jelovic.com/weblog/e41.htm>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top