LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get xcontrol position in main VI?

Hello All,

 

LV 2010

 

In main user interface I have couple of Xcontrols. When user move cursor over XControl it opens pop-up window. My problem is to set this pop-up window to correct location. It is easy to set pop-up to certain location.  Problem is to find XControl absolute location. If I have it then I can set pop-up to correct location.

 

Thanks,

 

Jim

0 Kudos
Message 1 of 2
(2,529 Views)

In the Xcontrol there is a refnum in the Container State.  Simply wire the Position Property Node and you have your position.  You can also get the Owning VI reference from that refnum so if there are other things based off the VI the Xcontrol is in you can use that.

Message 2 of 2
(2,501 Views)