05-27-2015 12:00 AM
In my Main VI Tab event is working fine, but i want to implement Shift+Tab also for reverse function of Tab. Please provide the solution
05-27-2015 07:36 AM - edited 05-27-2015 07:37 AM
Posting a VI that runs when opened on the forum is bad practice.
Even worst is posting a VI that exits LabVIEW when it closes. Many people here have multiple projects open at a time and having a VI close all of LabVIEW can be very disruptive to work flow.
https://decibel.ni.com/content/docs/DOC-40451
This is a warning to others that Test_Main.vi is saved in 2014 and is set to run when open, and to exit LabVIEW when pressing Exit.
Beyond that what'd I'd suggest doing is capturing the Key Down? event on the VI. With it you can see if Shift and Tab were pressed, and if they were then set keyfocus to the control you want, based on the control that currently has key focus. It is a bit of a pain but I've never had to implement it for more than a table, or an array of controls.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord