LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Scripting -- setting order of objects on FP

Solved!
Go to solution

I've got a application where I'm using VI scripting to move stuff around on the front panel of a bunch of VI's to make them conform to coding guidelines.  One of the problems I have is that some objects are on top of other objects (when they are supposed to be behind other objects).  I'm having trouble trying to figure out how to use VI scripting to make one item on the FP on top of (or behind) another object (LV2012sp1).

Any help?

 

Thanks

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

I don't think you can according to this message thread.

 

Programmatically reordering controls visually (forward & back) on front panel

0 Kudos
Message 2 of 7
(2,928 Views)
Solution
Accepted by warren_scott
Spoiler
 

Try something like this.

"If you weren't supposed to push it, it wouldn't be a button."
Message 3 of 7
(2,906 Views)

Sweet!!  That looks like it works.

 

Thanks

0 Kudos
Message 4 of 7
(2,899 Views)

@paul_cardinale wrote:
Spoiler
 

Try something like this.


Be aware that this VI uses private methods and will have no support from NI until the method has been made public.

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

Could someone please post the 2011 version or earlier of the solution? Thank you!

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

I saved it back to LV 2009.

0 Kudos
Message 7 of 7
(2,826 Views)