there is flickering inside a TScrollbox when I set a quantity of controls to visible:= false.
Framing with ScrollBox1.DisableAutoSizing and ScrollBox1.EnableAutoSizing will help.