I have a pop-up dialog GUI VI with an event structure.
I am programatically positioning certain elements on the GUI based on the window size. I do this positioning inside a "Panel Resize" event if the "Act" of the event was either "Maximize" or "Resized".
I would like to programatically trigger this event to run once when the VI first launches, to ensure that all my elements are properly positioned (in case something shifted during developement), however, the only way i have found to do that is to manually resize the window.
Of course a possible workaround is to put the positioning code in a sub-vi, but for various reasons I would rather not do that in this case, though I'll probably have to do it..
(I tried changing the panel size by -1 but this does not seem to genereate an event.)
So, is there a way to programatically create a "Panel Resize" event similar to a "Value (signaling)" property?
Thanks!