LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Screen position of control in nested subpanels


@Yamaeda wrote:

The Panel.bounds gives screen coordinates, so that + control position should give screen position regardless of subpanel level.

ScreenposOfControls.png


I think that this also needs correction for the pane origin?

 

I'm not sure if it will work with more then 1 pane.

 

This is all way too difficult...

0 Kudos
Message 11 of 12
(184 Views)

wiebe@CARYA wrote:

@Yamaeda wrote:

The Panel.bounds gives screen coordinates, so that + control position should give screen position regardless of subpanel level.

ScreenposOfControls.png


I think that this also needs correction for the pane origin?

 

I'm not sure if it will work with more then 1 pane.

 

This is all way too difficult...


Quick test showed that to be the case, yes. Moving the sub panel and saving it yielded the same result with the code above ...

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 12 of 12
(170 Views)