1

I want to fire an event when a new tab is selected, after the new tab is displayed.

I have tried to use the .Selecting event which fires before the new tab is selected, and the .Selected event which fires after the new tab is selected but before it is displayed. I have also tried .VisibleChanged on a control within the new tab. Finally I tried .Enter on the tab itself. Both of these give a similar result to .selected the event is fired before the new tab is displayed.

Does anyone have a suggestion on how to fire the event after the new tab is displayed?

1 Answer 1

1

You can use the SelectedIndexChanged event to achieve what you want.

Sign up to request clarification or add additional context in comments.

2 Comments

Yea, that awkward moment when something you are sure you tried fixes the issue...
Mistakes happen! I make them all the time. Don't be ashamed :)

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.