LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically hiding controls

Solved!
Go to solution

I have two Abort buttons that I wish to use.  These are for different tests which I have in a case statement.  These Abort buttons will stop the loop condition and will stop the test.  I would like to overlay these Abort buttons on a common Tab, so if the switch is thrown for a particular test then it can hide that Abort button.  Can this be done.  It can be done in Labwindows, but I cannot see it on LabVIEW.

 

Thanks

Martin

0 Kudos
Message 1 of 3
(4,880 Views)
Solution
Accepted by Marty_H

You can set the control property 'Visible'.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 2 of 3
(4,872 Views)

As TCPlomp points out, there is a property for that. On the diagram side of the control, right click and select "Create:Property Node:Disabled". Then right click on the resulting property node and change to "Write". Now, by passing the appropriate value into it, you can enable, disable, disable and gray out the control. The later is good, it tells the operator that the function is available under certain circumstances. There are also properties that make the control visible or not, etc.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 3 of 3
(4,842 Views)