Closing a TabPage, another approach, possible?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeff

    Closing a TabPage, another approach, possible?

    Hey

    ..NET 2.0

    I have a form containing a TabControl. During runtime TabPages get added to
    this TabControl.

    I want a way to close the TabPages. As it is now, I have to restart the
    application for to remove the TabPages. This is not an ideal situation.

    If I fill the TabControl with more TabPages then it have space to show tabs
    for then left & right arrows are added to the top of the TabControl. These
    arrows can be used for navigating the TabPages. I've seen some other
    applications have the same functionality but in addition they have an X.
    when clicking on this X then the selected tabpage closes....

    Is this possible using .NET 2.0, how can this be done? is there a setting
    for this on the TabControl?

    Best regards!

    Jeff


Working...