deleting dynamically created controls in runtime using vb.net 
Author Message
 deleting dynamically created controls in runtime using vb.net

if anybody can help me ,how to delete dynamically created
controls in runtime using vb.net


Sun, 11 Dec 2005 13:06:23 GMT  
 deleting dynamically created controls in runtime using vb.net

Quote:
> if anybody can help me ,how to delete dynamically created
> controls in runtime using vb.net

Remove them from the collection you added it to.

--
Armin



Sun, 11 Dec 2005 15:55:41 GMT  
 deleting dynamically created controls in runtime using vb.net

I use the dispose method... (may or may not be the correct way to do things,
but it works for me)

Matt


Quote:
> if anybody can help me ,how to delete dynamically created
> controls in runtime using vb.net



Sun, 11 Dec 2005 17:03:45 GMT  
 deleting dynamically created controls in runtime using vb.net
Hello,


Quote:
> if anybody can help me ,how to delete dynamically created
> controls in runtime using vb.net

Remove the custom event handlers (RemoveHandler) and call its Dispose
method.

Regards,
Herfried K. Wagner
--
MVP VB Classic, VB .NET
http://www.mvps.org/dotnet



Sun, 11 Dec 2005 19:13:40 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Event Handling Between Dynamically Loaded User Controls using vb.net

2. Can I dynamically(runtime) create a form/control?

3. Dynamically Creating Controls and Forms at runtime - HELP!!!!

4. Dynamically Creating Controls at Runtime

5. How to access the dynamically created checkbox in vb.net

6. how can I dynamically create checkboxes in VB.NET

7. Creating a self deleting executable using .NET

8. Using Dynamically created controls...

9. Creating ActiveX Controls at Runtime using a Control Array

10. what create table using ADO.NET to VB.NET

11. Dynamically add ActiveX control to VB.NET Form

12. How to add an activex control dynamically in VB.NET

 

 
Powered by phpBB® Forum Software