Sign in to follow this  
Azh321

[.net] TabPage Events?

Recommended Posts

Azh321    569
(im using C# btw) Is there an event that is called when a particular tab page is the active tab? In my program, each tab will open up a different file, which may be a very large file. So I only want to load the file when the person clicks on a particular tab. I did find an event for when someone clicks on a particular tab's PAGE, but not the TAB itself. Can anyone help? Thanks!

Share this post


Link to post
Share on other sites
Magos    218
SelectedIndexChanged

In the event, to see which tab was selected, check out the tabControl1.SelectedIndex or tabControl1.SelectedTab properties.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this