LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Polling for active floating panel in LV7.0

My application has many windows open simultaneously (flexible, configurable data display, each running in its own thread). In previous versions of labview, I used the fp.frontmost propery to arrange the window stack periodically. This is clumsy, and the new Floating Panel feature significantly cleans up the window management.

However, I need a way to know which window the user last activated when all open windows are set to 'floating'. I used to poll the fp.frontmost property, but this is no longer an effective way of doing this, since no floating window shows as frontmost. Ideally, a 'front panel activated' event would work, but that doesn't exist. Is there another way?

Thanks!
0 Kudos
Message 1 of 2
(2,467 Views)
I do not understand why IsFrontmost not doing what you want. I created two VIs that poll the IsFrontMost property and made them floating. Whenever one of them is frontmost, the property is true. I attached the two VIs below to facilitate our discussion.
Download All
0 Kudos
Message 2 of 2
(2,467 Views)