11-15-2011 03:08 AM
I would like to swap 2 charts: 1 is inside a Tab control, the other is located outside the TAB control.
Problem: The tab control extends when I swap position and I don't want that. I just want the charts to swap without modifying the TAB-control.
Thanks in advance!
Solved! Go to Solution.
11-15-2011 04:07 AM
I don't think you can add/remove objects from a tab control at runtime easily.
But I'm sure there's another solution:
11-15-2011 04:13 AM - edited 11-15-2011 04:20 AM
Thanks, I will assume that moving something out of a container on runtime is NOT possible.
I will place the graphs I want to switch in an additional TAB control and switch those pages.
(Solution attached LV8.5)
11-15-2011 04:40 AM
@_Xilinx_ wrote:
Thanks, I will assume that moving something out of a container on runtime is NOT possible.
Well, I didn't play much with scripting so it might be possible. Not sure if it would work on a running VI though.
11-15-2011 07:40 AM
You can do this one of two ways:
11-15-2011 07:52 AM
See here for example of inserting/removing from sub-panel
Ben