LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI in SubPanel does not get Pane Size event on window resize

Solved!
Go to solution

I'm having an issue similar to the one posted here:

https://forums.ni.com/t5/LabVIEW/Resize-VI-in-Subpanel-when-main-VI-is-resized/td-p/1978763

which had a recommended solution to use the Pane Size event instead of the Panel Resize event as found here:

https://lavag.org/topic/16483-subpanel-resize-event/

 

In the attached demonstration files, the VI in the SubPanel does generate both the Panel Resize and Pane Size events when operated in stand-alone, windowed mode. However, it does not fire either event when loaded into the SubPanel control in the window with the splitter bars.

 

Am I missing something?

_______________________________________________________________
"Computers are useless. They can only give you answers." - Pablo Picasso
Download All
0 Kudos
Message 1 of 3
(2,399 Views)
Solution
Accepted by topic author rwunderl

You are not running the VI that you insert into the subpanel. Since its not running, of course it can't receive events - it can't do anything!

Message 2 of 3
(2,365 Views)

Clearly, my example was a bit too simple. Hahaha!

 

Thank you. It works as expected now.

_______________________________________________________________
"Computers are useless. They can only give you answers." - Pablo Picasso
0 Kudos
Message 3 of 3
(2,360 Views)