Hi,
I'm hoping I can get some help on this problem. I am trying to skip a control based on the value of the previously entered control. Here's a synopsis of what I'm trying to do:
-My front panel has 6 controls (Lot ID 1,2,3 and Quantity 1,2,3).
-The tabbing order for the controls is set to Lot ID 1, Quantity 1, Lot ID 2, Quantity 2, Lot ID 3, Quantity 3.
-If the user enters a non-zero or non-empty string value into the Lot ID and presses tab, the following Quantity control defaults to 25 and this value is highlighted.
-When they tab off the Quantity control, the next Lot ID is selected and the value is highlighted.
-If the user enters a zero or empty string value into the Lot ID and presses tab, I want to change the Quantity control to an empty string and then move on and automatically select the next Lot ID and highlight it's value.
I've attached my sample code. Everything works as it should except the last step. I can't get it to skip the Quantity control when a zero/empty string is entered in the Lot ID. Any ideas?
Thanks!