|
-
February 15th, 2000, 04:10 PM
#1
Trying to remove controls at runtime
I have created 100 picture boxes on anouther picture box. I did this using "Public WithEvents extStars As PictureBox" and adding them with this libne of code
"Set extStars = frmGMap.Controls.Add("vb.picturebox", stStarID, Picture2)". Now I am trying to remove them so I can lay down a different set of pictures. I tried using the only example given in MSDN which was "frmGMap.Controls.Remove (stStarID)". If any one could please give me a hand I would be grateful.
Thanks,
Deebo
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
|