10-14-2016 10:34 AM
Scale all objects is not used. Main idea is to scale only graph and a few elements and shift all others. Does my example work, it has 4 splitters and 5 subpanels and with repainting will look like example2.
If the VI was saved after you shifted controls, it will not restore "original controls positions", there is no vi command "save positions". You can set default panel size that is applied when vi is run and rules how controls positions change when it resizes. Sam said, that reentrant VI, loaded from disc will load saved panel and controls positions, copy that is running will not affect it. PS: to open VI as reentrant (option 😎 you need to edit VI properties -> Execution -> Reentrant -> Preallocate clone for each instance.
10-14-2016 04:15 PM
Hi Christ0phe,
For your second question, you can always use VI Server calls to grab all the references of all controls on your front panel and store the Positions (Left, Top) and Bounds (Height, Width).
Recall these values, which should be in arrays, to return the Positions and Bounds to what they were before they were automatically resized.
10-16-2016 01:50 PM
Try doing something like this
10-21-2016 08:51 AM
Although I still think that it is a sort of patch to a function that does not work well in Labview (combination of 'Maintain proportions...' and ‘Scale all objects on front panel as window resizes’) I have applied what Paul and Pangvady suggested.
Thanks
Christophe