TabControl

  • Thread starter Thread starter shahoo
  • Start date Start date
S

shahoo

I am new to C# and I have a problem with the TabControl. I want to add
a context menu to the tab with one menuItem to enable the user to
close the tabbs. But when I Right-click the tabs, the SelectedIndex of
the tab control remains the same as before (I right-click other tabbs
which are not selected). Can anyone please help me?
 
I am new to C# and I have a problem with the TabControl. I want to add
a context menu to the tab with one menuItem to enable the user to
close the tabbs. But when I Right-click the tabs, the SelectedIndex of
the tab control remains the same as before (I right-click other tabbs
which are not selected). Can anyone please help me?

You have to active the Tab Page, or the index won't change
 
Back
Top