Hi All,
First off I am pretty new to VB.Net. I used to code in VB.Old (VB 6) and VBA. I am trying to learn by building a fairly simple project and like to throw a few somewhat advanced (or at least new to me) concepts in to keep it interesting.
Currently I have a main form and a config form. On the main form I have a menu strip with a "Config" item. The Config item has several items beneath it. On the config form I have a tab control with several tabs. What I want to accomplish is when an item under the Config menu is selected, the config form opens and automatically goes to the tab associated with the config item that was selected.
Is there a shortcut in VB.Net that will do this? Or do I need to pass a variable to the config form and run some code on the load event of the config form. If I need to run some code, what is the command to select a specific tab?
Thanks in advance for any and all help,
Tim
First off I am pretty new to VB.Net. I used to code in VB.Old (VB 6) and VBA. I am trying to learn by building a fairly simple project and like to throw a few somewhat advanced (or at least new to me) concepts in to keep it interesting.
Currently I have a main form and a config form. On the main form I have a menu strip with a "Config" item. The Config item has several items beneath it. On the config form I have a tab control with several tabs. What I want to accomplish is when an item under the Config menu is selected, the config form opens and automatically goes to the tab associated with the config item that was selected.
Is there a shortcut in VB.Net that will do this? Or do I need to pass a variable to the config form and run some code on the load event of the config form. If I need to run some code, what is the command to select a specific tab?
Thanks in advance for any and all help,
Tim