LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

position of a sub-vi when called

I want to control the position where appears the sub-vi when it is called.
The reason is that I want to have both a "splach screen" and a copyright screen.
They are called when I lunch the principal vi.
The problem is when those two vi are called, they appeared in the center of the desktop.
I want to force the spalch screen to appears on the bottom of the desktop and the copyright on the left.
How can I do that, or....
Have you an idéa to do something like this.

Thank you in advance.
0 Kudos
Message 1 of 3
(2,636 Views)
Hello madness,

two advices:
1) Deselect the "Center on Screen" setting in the vi properties. Then move the windows to the desired postion (and size) and save the vi. Then it will open in that position. This is the easy way, but can lead to an "ugly" look, when the screen resolution changes.

2) Use property nodes (VI->FP.WinBounds and App->Disp.WkSpace) to set the window position (and size) for both windows. This way you can adapt the window position to changing screen resolutions.

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,636 Views)
Thanks a lot ! ! !
Exactly what I want to do.
🙂
0 Kudos
Message 3 of 3
(2,636 Views)