Results 1 to 5 of 5

Thread: How remove shape object from picturebox

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    14
    Hi, does anyone know how I can remove shape objects from a picturebox at run-time?
    Thank you!

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    I'm not so sure you can do that. It does have a visisble property so you could make it invisible.
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    14

    sigh..

    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...

  4. #4
    Lively Member THCfog's Avatar
    Join Date
    Oct 2002
    Location
    Michigan
    Posts
    86
    Great question, I was just about to ask the exact same thing.... Anyone have an answer?


    Thanks...

  5. #5
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246
    How are you creating them? Please post some code..
    VB Code:
    1. For i = 0 To NumObjects.Count
    2. Unload NumObjects(i)
    3. Next i
    ?

    Phreak

    Visual Studio 6, Visual Studio.NET 2005, MASM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width