@Joost R Next, when you put the container control on a tab- or page-panel then you get things completely messed up and not refreshed.
How about this? The IDE is on the left for comparison.
If placing in a tab you need to set the container.parent = nil then manually manage visibility when the tabvalue changes.
Tested on Win, Mac, Linux...