If you’re talking about their visual appearance, why not set visible to false? That should stop them from taking up any space in the visual layout.
But that’s a separate issue to the object lifetimes. Why is it important that you delete some before creating others? Are you on a really tight memory budget, or something?
Cheers,
Chris.
↧