Hi, does anyone know how I can remove shape objects from a picturebox at run-time?
Thank you!
Printable View
Hi, does anyone know how I can remove shape objects from a picturebox at run-time?
Thank you!
I'm not so sure you can do that. It does have a visisble property so you could make it invisible.
I know, its just that I really really need to remove them...
I created them using a dynamic array, if I collapse the array, the shape objects are still there!!
Any ideas how I can get rid of them? They're causing a bunch of errors coz I can dump new objects in the control to overwrite the previous ones...
Great question, I was just about to ask the exact same thing.... Anyone have an answer?
Thanks...
How are you creating them? Please post some code..
?VB Code:
For i = 0 To NumObjects.Count Unload NumObjects(i) Next i
Phreak