LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My run-time menu disappears if I set my front panel to Always Be On Top

Me again. I have recently updated a working program to include a Run-Time Menu, which were always previously deactivated, but it seems that the run-time menu and the Always Be On Top.vi conflict somehow.

The window is always on top, but the menu lists are not visible. Clicking on a menu header flashes the appropriate menu list before it disappears (presumably behind the .vi?) It would appear that the Always Be On Top .vi even manages to bring the .vi forward in front of my menus!

Why does this happen, have I missed something obvious?

Thanks in advance,

Riggy.
0 Kudos
Message 1 of 3
(2,675 Views)
You didn't say what platform are you using, nor LabVIEW version, where "Always Be On Top.vi" comes from.

If you're using Windows, you can use NI's lvwutil32 (search it on NI site) to set your front panel to topmost. I just tested on Win2K with LabVIEW 7.1. Works fine with runtime menu.

George Zou
http://gtoolbox.yeah.net
George Zou
Message 2 of 3
(2,647 Views)
I'm using Win2k Pro, and LV7.0.
Always Be On Top.vi is part of the NI package of Windows Management Controls, downloadable from this site. Having a sneaky peek inside, it seems they communicate with user32.dll, so I could try using lvwutil32 instead 🙂

Thanks!
0 Kudos
Message 3 of 3
(2,635 Views)