LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hidden indicator - how to tell which tab page it is on?

I am analyzing an existing program. It has an indicator which is hidden.  If I right-click on the terminal, I can "find" the indicator, which appears as a dotted outline within the tab control area, regardless of which tab page is selected.   How can I find out which tab page it is on?

 

I don't currently have the hardware to run the program, so I am trying to find a property or something with this information.

0 Kudos
Message 1 of 8
(3,351 Views)

Create a Property Node for the tab control.  Select the Pages property.  The output is an array of references to the pages.  Loop through those references checking another property node Controls on Page[ ] for references to the controls on that page.  If you know the label of the hidden control (and no duplicate labels exist on the page), you can use the Label.Text property to find the control.  Once you have the reference, you can write to the Visible property to show the control. Something like this (you need to add termination conditions):

 

Hidden Control.png

Lynn
Message 2 of 8
(3,350 Views)

I'm sure I mentioned that I cannot run the VI.

0 Kudos
Message 3 of 8
(3,347 Views)

Create a new VI that you can run and open a reference to the broken VI. Rest stays the same....

0 Kudos
Message 4 of 8
(3,341 Views)
The behavior you describe sounds to me like the control is behind the tab control, not on any page. Show control should switch pages. I would simply move to front when it is selected.
0 Kudos
Message 5 of 8
(3,335 Views)

It's not broken I just don't currently have the I/O hardware to run it.

0 Kudos
Message 6 of 8
(3,331 Views)

Darin.K, sounds like you've sussed it.  I will check that possibility tomorrow.

0 Kudos
Message 7 of 8
(3,329 Views)

Just to add to Darin's reply, since he didn't refer to it explicitly - it's certainly possible the control is under the tab control, but if it is hidden, the context menu for the terminal has another option called Show Control, which makes it visible.


___________________
Try to take over the world!
0 Kudos
Message 8 of 8
(3,317 Views)