From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to change tab control page order?

Solved!
Go to solution

I am trying to change the page order of a tab control, To control the pages.
It is posible to do this in any way?
thank you .

0 Kudos
Message 1 of 7
(2,850 Views)

My guess is that since it's an enum, it can only be changed in edit mode.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 7
(2,835 Views)
0 Kudos
Message 3 of 7
(2,807 Views)

I have already seen this topic but I have not found the solution I am looking for,
Especially that I did not find, an invoke node (method) "rearrange pages".

0 Kudos
Message 4 of 7
(2,786 Views)
Solution
Accepted by topic author Sarah_LAB

Right click on tab control >> Create >> Invoke Node >> Rearrange Pages

As mentioned in the help, it requires VI scripting. I have never used this method.

0 Kudos
Message 5 of 7
(2,783 Views)

Thank you I found it. 
It is for what if the method is not used when the executing program?

0 Kudos
Message 6 of 7
(2,771 Views)

Hi Sarah,

 

you can use VI scripting to create new VIs or edit existing ones programmatically.

VI scripting is not allowed/possible in executables as you cannot change compiled code!

("Compiled" in the sense of "fixed in an exectuable", as LabVIEW always compiles the VI… Also executables call the RunTimeEngine which doesn't support scripting.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 7
(2,769 Views)