LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to lock Z-position of VI Front Panels?

* Built an Application (compiled VIs), all without Toolbars.
* Created multiple VIs each with a displayable front panel.
* All panels overlay a single background panel containing titles and
other information.

THE PROBLEM: during execution, if you accidently select (left click)
outside one of the overlaid panels, the background panel jumps to the
foreground, thus covering up all the VI panels. As presently
programmed, we have no method to access the now covered-up panels,
except to exit through Task Manager and restart LabView.

Do you have suggestions to lock the Z-position (similar to "locked"
layers) of VIs?

0 Kudos
Message 1 of 3
(2,283 Views)
A solution is to permanently check if the background vi is frontmost, using a loop running at slow rate (200 ms is allright), and if so, to bring all the others as front vis. See the attached llb where this method is demonstrated.
 
Chilly Charly    (aka CC)

         E-List Master - Kudos glutton - Press the yellow button on the left...
        
Download All
0 Kudos
Message 2 of 3
(2,268 Views)

Hi Anonymous,

Alternatively, 7.1 offers a "floating" type under VI Properties\Window Appearance\Customize.  By setting each of the over-lay panels to floating, they will stay on top - and as a bonus, buttons on underlying panels also work!

BTW, great handle Smiley Wink

When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 3 of 3
(2,264 Views)