You can add a tab control onto your form which is triggered by the user selecting a value from a drop down list.
1. Add a tab control onto your form
1. Drag and drop the Tab Control from under the Controls - Container toolbox 2. Click the Open Collection button in the properties panel 3. Click the ADD button 4. Change the (Name) property to the name in the drop down list you are going to attach below.When you run the form, tab pages will be automatically selected when the value of the drop down list changes and matches the name of tab name. In the example we are creating three tabs named:
- Residential
- Commercial
- New Construction
2. Add a Drop down control onto your form
1. Drag and drop the Drop Down Lookup from under the Controls - Specialized toolbox
2. Using the TabControlName property drop down select the tab control.
You will see multiple tab control names if multiple tab controls are on the form
3. Verify the Custom Table and Field names are selected.