|
-
Dec 7th, 2002, 04:28 PM
#1
Thread Starter
Frenzied Member
Destroy Control
How do i destroy a control at runtime ?
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Dec 7th, 2002, 05:00 PM
#2
It depends how the control was added to the form.
If you used the Controls.Add method then use the Controls.Remove method.
If you used the Load method use the Unload method.
If the control was added at design time you cannot remove it at runtime.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|