I have a form with a Tab Control with multiple pages. On each page is a different form. The main form takes time to load and uses many resources b/c of the number of forms opened. When the form opens on the first page, I want all the SourceObject properties of each form on the other pages to be set to nothing. This part I can do easily.
Now the part I don't get: When the user clicks on a tab for another page, I want the form on that page to load. I have tried using the On Change event in the Tab Control and was able to accomplish this, but not for each individual tab. I only want forms to load on pages when they are clicked on by the user. I also tried using the On Click events in each individual tab, they do not fire for some reason.
Basically, I only want forms to load when the user wants to looks at them to save time in loading the main form and use less resources.
Thanks for any help and suggestions.
Now the part I don't get: When the user clicks on a tab for another page, I want the form on that page to load. I have tried using the On Change event in the Tab Control and was able to accomplish this, but not for each individual tab. I only want forms to load on pages when they are clicked on by the user. I also tried using the On Click events in each individual tab, they do not fire for some reason.
Basically, I only want forms to load when the user wants to looks at them to save time in loading the main form and use less resources.
Thanks for any help and suggestions.