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>
 
Back
Top