Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remove Controls @ Runtime
Message
From
20/09/2002 12:36:18
 
 
To
20/09/2002 11:55:37
Alvin Lourdes
Children and Youth Services Cluster
Toronto, Ontario, Canada
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00702812
Message ID:
00702840
Views:
9
' Typing this off the top of my head

dim strNameSearched as string
strNameSearched = "cboTempChoice" ' or whatever.
Dim ctl as control
for each ctl in controls
if ctl.name = strNameSearched then
set ctl = nothing
end if
next

>Hello,
>
>I am able to create a control @ runtime.
>
>This is what I would like to accomplish
>=======================================
>(1) I would like to perform a check to see if my control has already been created.
>
>(2)I would like to Unload the control.
>
>Thanks for your help...
>I really appreciate it..
>
>Al
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform