Remove controls from a scrollbox


By Regis St-Gelais I am dynamicaly (at run time) adding controls into a TScrollBox using myScrollBox.AddObject

Now I need to remove all the controls I added to put new ones.

I tryed myScrollBox.Controls.Clear but after I call that function, any control I add are not showing up.

(Warning: I’m new to delphi and Firemonkey)

Thanks. …read more

Via: StackOverflow

Comments are closed.