LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab page "Tabbing Order" property

Hi,

 

Years ago I was programming Labview as a regular part of my job and I wrote a program to save values from a tab control recursively so that it would save the individual control values from tabs within tabs within tabs. To do this I used a page property "Tabbing Order" to index through the controls (see attached picture). I want to do that again but this property never appears in the page property menu. It's driving me crazy trying to access the property and I can't find any documentation on how to access it. I'm hoping that someone has the answer.

 

Thanks ahead of time.

0 Kudos
Message 1 of 5
(110 Views)

Hello, Xanthan.  Welcome to the Forums.

 

     Years ago, when I first was learning LabVIEW, I encountered Tab Controls, but didn't like them (and had a difficult time helping my colleagues who had Tab Controls with 15 tabs untangle their Block Diagrams!).

 

     So when I found something in LabVIEW that I hadn't used recently, but wanted to figure out, I did what I find very effective for myself and my "mentees" -- I opened a new VI, dropped down a Tab Control (with three tabs, named by LabVIEW "Page 1", "Page 2", and "Page 3"), then wrote a little VI that I hoped would iterate through the pages for me (not exactly what you asked, perhaps, but potentially could be used to "solve your problem".

 

     Found two possible methods -- a "direct iteration" and an array of References to the three pages that could also be used.  See if this gets you started.

Tab Control, Iterating.png

 

Bob Schor

0 Kudos
Message 2 of 5
(83 Views)

Hi,

 

Up to LV2021, you had property "Controls on Page[]", which gives the list of controls in tabbing order already:

raphschru_2-1737819016534.png

 

Starting from LV2022, the property was renamed "Tabbing Order":

raphschru_1-1737818490830.png

 

I guess the property was renamed to clearly differentiate from the "Z-Order:Controls[]" property that was newly added in LV2022.

Also, properties "Objects on Page[]" and "Decorations on Page[]" were replaced respectively by "Z-Order:All Objects[]" and "Z-Order:Decorations[]".

 

Regards,

Raphaël.

Message 3 of 5
(79 Views)

Oops -- I think I answered the "wrong question" ...

 

BS

0 Kudos
Message 4 of 5
(28 Views)

Problem solved, thank you - the project I'm currently working on is in LV20 and I was looking at the old project in LV23.

0 Kudos
Message 5 of 5
(7 Views)