Why Multi-Factor Authentication Is No Longer Optional
Cybersecurity used to be something only large corporations worried about. Today, businesses of every size are targets, and cybercriminals are getting smarter ev...

In order to give a tab control different events for each tab being clicked, you can use a case statement.
The case statement uses the case number to match to the Tab Page Index. Each tab has an identifier, starting at 0.
This works well, as long as you don't change the tab order or add new tabs. If you do change it, you will need to update your case statement. If you want better menus, we strongly suggest you look into FMS Inc, and some of their menu systems. You will see in my code below, we are using fmsNavigationMenu.
Code looks like this:


Copyright © 2026 - All Rights Reserved