deleting runtime created controls

Say I have created new instances of an object during runtime.
Let’s say I created a canvas called “Placeholder” and 0 as it’s array number
placeholder(0).

Then during runtime I make a whole bunch of them as new instances, so I now have 50 of them.

How do I delete them after making them (going back to only having placeholder(0))?

for i = self.ControlCount-1downto 0
   if self.Control(i).Name = "Placeholder" then
      if self.Control(i).Index> 0 then
         self.Control(i).Close
      end
   end
next

That worked perfectly (bows down “we are not worthy”)
Cheers