01-24-2025 09:58 PM
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.
01-25-2025 09:21 AM
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.
Bob Schor
01-25-2025 09:36 AM
Hi,
Up to LV2021, you had property "Controls on Page[]", which gives the list of controls in tabbing order already:
Starting from LV2022, the property was renamed "Tabbing Order":
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.
01-26-2025 09:28 AM
Oops -- I think I answered the "wrong question" ...
BS
01-26-2025 04:27 PM
Problem solved, thank you - the project I'm currently working on is in LV20 and I was looking at the old project in LV23.