If the controls are Loaded, then you can Unload them _________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
Making them Invisible is not the same as Deleting them: in the former case, the resources used by the Control are not released! _________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
You can not delete a control at runtime. It's impossible. But if you want to delete a control to prevent low memory errors you may create a control array (like above messages say) and then load and unload one or more controls. But again you won't be able to unload the control indexed 0. Because this means you DELETE the control. But i said it's impossible...
You can delete only those controls at runtime those you have created at runtime. The design time controls you can't delete at runtime. You have to hide them..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.