I'm going to assume that you mean the tab control in LabVIEW. If that's the case, you can use a simple event structure. In the attached example, I created key down event for the VI and used the Vkey event data node. I arbitrarily assigned the F5 key as the one to signal switching the tab control. You can use whatever key you want but you'll have to use a different data node if you want a keyboard or control/keyboard shortcut.