closing a TabPage, how??

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

..NET 2.0

I've created a form which contain a TabControl. During runtime TabPages will
be added in the TabControl.

I would like to have a feature like an "X" (like closing windows) in the tab
which when clicked closes that specific tabpage.

any suggestions on how to implement this are most welcome!

Jeff
 
Hi,

You wil have to either implement it on your own or find a third party
control (take a look at the Infragistics package).

for implementing it take a look at some Owned draw controls examples there
are in the web. You will have to add a "close" button ni the tabpage and
handle the click of that control.
 
Back
Top