12-01-2011 05:49 AM - edited 12-01-2011 05:50 AM
Hi,
I am using LV8.6 and I have a drop down selector to choose which unit I want to test. This enables the page the unit controls are on and disables the others. What I want to do is when the unit is selected the page is enabled (which I have done) and the page to be in view and selected. Does anyone know how this is done?
Thanks
Martin
Solved! Go to Solution.
12-01-2011 05:52 AM
Simply change the value of the tab control. Send 3 and it'll show the 3rd page. If you create a constant it works like an Enum and will show the page names as options.
/Y
12-01-2011 05:59 AM
@Yamaeda wrote:
Send 3 and it'll show the 3rd page.
4th page, zero index 😛
12-01-2011 06:00 AM
Hi,
What an idiot I am!! I have been trying to do this and it wasn't working due to setting the wrong property node in my code.
Now fixed!
Thanks for the sanity check!
12-01-2011 06:14 AM
12-01-2011 06:17 AM
@marty H wrote:
Hi,
What an idiot I am!! I have been trying to do this and it wasn't working due to setting the wrong property node in my code.
Now fixed!
Thanks for the sanity check!
Dont use Value property node if you can avoid it, it's slow and often unnecessary. In this case you can use a local variable. (One of the instances where it's ok to use a local variable, since there's really no other option to change the value of an control.)
/Y