LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

view disabled tabs

I am using the same app for two different modes of operation.
One with password protected privileges, one without.
 
Basically the password enables the user to access information on tab pages that are disabled without the password.
 
Initially I set the visible property to false for tabs when the password was not entered.
However, there are parameters on those tabs that I would like the non-password user to be able to see.
 
I changed the code so that when no password was entered, the disabled property was set to disabled.
That allowed the tabs to be seen, but they cannot be selected; which means that the parameters cannot be seen.
 
Is there a way to make all controls on a tab disabled at the tab level, or do I need to disable each control individually?
i.e. Allow the tab to be selected, but not allow any of the controls to be changed.
 
All help is appreciated.
Thanks
 
0 Kudos
Message 1 of 3
(2,414 Views)
The page also has a property called Controls[]. You can simply wire this into an auto-indexing for loop and disable all the controls on the page with the same node.

___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(2,403 Views)
Hello,
 
This document has a bit more information as well:
 
 
Best Regards,
 
JLS
 
PS - an example is attached which disables + greys controls in the tabbing order, using the Controls[] array.
Best,
JLS
Sixclear
0 Kudos
Message 3 of 3
(2,385 Views)