How Do I Get the Coordinates of a Pane Relative to the Frontpanel Position?

Updated Apr 13, 2018

Reported In

Software

  • LabVIEW Base
  • LabVIEW Full
  • LabVIEW Professional

Programming Language

  • LabVIEW G

Issue Details

I split my frontpanel into panes. Now I want to get the origin coordinates of a pane relative to the origin of the frontpanel. How is this possible?

Solution

  1. First you have to get the origin of the pane by using the Origin Property. This should be 0/0 (Horizontal/Vertical)
  2. Now you have to convert this pane coordinates into panel coordinates using Convert Pane To Panel Coordinates Method

WAS THIS ARTICLE HELPFUL?

Not Helpful