LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Obtaining References of Controls Inside of Tab Controls

Does anyone else have the same luck as me, where you scratch you head for a good part of the week then it all comes together in the last hour of the week on Friday? This seems to work quite well.

 

0 Kudos
Message 11 of 14
(939 Views)

By the way, thanks Ben64 for your help. It was much appreciated.

 

--Brian

0 Kudos
Message 12 of 14
(937 Views)

well..sometimes things seem perfect that they are just a bit off. Here is where I am now.

 

With the code below, the 0th conrol coming out of the panel property node is the tab control that I want to access.  Can I use some NI vi to select the 0th item in the array from "controls[]" and wire it to the input of the Pages on the Tab Control?

 

0 Kudos
Message 13 of 14
(923 Views)

Use the index array vi and wire 0 to the index input. You will get the reference to the Tab Control to use with the property node. Note, the pages property is read only and return the page collection of the tab control.

Ben64

0 Kudos
Message 14 of 14
(916 Views)