Results 1 to 3 of 3

Thread: Draw in the picturebox clear

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Draw in the picturebox clear

    Why the drawing in my picturebox clear when I moving around the form during run time?

    I have set the autoredraw as true

  2. #2
    VB For Fun Edgemeal's Avatar
    Join Date
    Sep 2006
    Location
    WindowFromPoint
    Posts
    4,255

    Re: Draw in the picturebox clear

    After each draw copy the image... Picture1.Picture = Picture1.Image

    U sure your not clearing it in some other part of the code? Paint event?
    Last edited by Edgemeal; Apr 10th, 2008 at 02:07 AM.

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Draw in the picturebox clear

    Do you have anything in any mousemove event that references the picture box?

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