LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to press a botton and a panel become invisible?

Dear all,
 
I attached a file the version is 8.2. My question is how can I press the botton "Panel A", the Panel named A become invisible or visible.
And so on. Thanks!
 
 
0 Kudos
Message 1 of 4
(2,844 Views)
You could use seperate tab controls for each panel.  If you make the background color of the tab transparent it will not look like the code is on a tab.  You can then control the visibility of the tab controls using their property nodes.
0 Kudos
Message 2 of 4
(2,826 Views)

Thanks for reply. Why I want to use this method is because I have a table in each panel.

I want to drag item from Panel A to Panel B. And so on.

So I must use this function.

0 Kudos
Message 3 of 4
(2,806 Views)
Your question can be interpreted in several ways, here are two interpretations and possible solutions.
 
Do you (1) simply want everything in panel a to become invisible or do you (2) want to programatically move the splitter left so panel A has zero width and panels b,c,d, move to the left?
 
For (1), make "visibility" property nodes for all desired objects in panel A. Show or hide them using a boolean.
 
For (2), create a property for splitter2, select property "splitter position", and programmatically feed it a lower number so the spliiter bar moves left.
 
Now repeat for the other panels/splitters accordingly.
0 Kudos
Message 4 of 4
(2,799 Views)