LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to detect the position of window?

Solved!
Go to solution

Hi,

I have two questions please .

 

1) How i can to detect the last position of the window of my application in labview? 


2) If I succeeded to detect this position of the window, And i saved it in the "INI" file, how I can apply this position values to move automatically my window of the application in the first start-up in labview ?

 

Thank you for your help.

0 Kudos
Message 1 of 4
(3,758 Views)
Solution
Accepted by topic author imadouino

Hi imadouino,

 

you can use a property node to read the window postion.

When you want to set the window position you use the very same property, but switch the node from "read" to "write" mode…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(3,749 Views)
Solution
Accepted by topic author imadouino

to get you started, bc i found it hard to find the properties when i started.

hope that helps

frontpanelbounds.png

<edit> to change the properties from read to write, right-click on the property and set to "Change to Write"</edit>


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 3 of 4
(3,730 Views)

thank youuuuuuuuuuuu it worked 😄 😄 Smiley Very Happy

0 Kudos
Message 4 of 4
(3,721 Views)