Family Password Habits Worth Teaching
Every September, kids come home with a fresh stack of school supplies and a fresh set of logins, a school portal password, a login for the library system, maybe...

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