From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get the size of front panel in pixels

Solved!
Go to solution

hello, I have one more question.

How can I programmatically get the front panel window size in pixels? I mean not by VI Properties.

0 Kudos
Message 1 of 7
(4,713 Views)

Display_Size.png

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 2 of 7
(4,704 Views)

Application property node? Not VI?

Are you sure it is for front panel window size? Not for monitor? I don't understand this solution to be honest...

0 Kudos
Message 3 of 7
(4,683 Views)

What do you mean not using VI properties? There are properties for window size and pane size and/or position in pixels

_____________
Creator of the BundleMagic plugin for LabVIEW!
0 Kudos
Message 4 of 7
(4,677 Views)

Well, I should to do that with property node I think. Not going to VI Properties in File. I tried with panel origin and content rect position, but maybe I did someting wrong or this is not the resolution. To be honest I care only about horizontal size

0 Kudos
Message 5 of 7
(4,670 Views)
Solution
Accepted by topic author ada_333

You had asked not to use the VI Properties, that is why I was referring you to the display properties.  Try

LV2017 FP_Bounds.png

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
Message 6 of 7
(4,668 Views)

It works, thanks!

0 Kudos
Message 7 of 7
(4,653 Views)