|
-
Nov 29th, 2000, 09:38 AM
#1
Thread Starter
Lively Member
With this code, I've made a control at runtime.
Set btnObj = Controls.Add("VB.ComboBox", sControlName)
With btnObj
.Visible = True
.Width = 2000
.Top = 210 + (i * 350)
.Left = 5500
.ForeColor = vbBlack
.Text = ""
End With
Now I want to remove it. So I thought to set it equal to Nothing:
Set btnObj = Nothing
The problem is, that the control is still on my form.
How can I realy remove it?
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
|