Results 1 to 2 of 2

Thread: [2005] Problem with picture box

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2007
    Posts
    24

    Question [2005] Problem with picture box

    Hi all,

    i have added a property of the picture box, where i can move the image in the picture box by clicking it by mouse and moving to see the hiden part.

    Here if i add an image with big resolution than, when i move the image by mouse clicking, the image moves slowly (with frequent pauses).......

    what should i do ??
    please Help me

  2. #2
    Frenzied Member circuits2's Avatar
    Join Date
    Sep 2006
    Location
    Kansas City, MO
    Posts
    1,027

    Re: [2005] Problem with picture box

    The slow speed and pausing is caused by the system having to redraw the picture as you move it. If you change your code to only move the image after the user has dropped it, then you will notice a gain in speed. Of course, you may want to draw an outline of the image so the user can see where they are putting it, but that is up to you.
    Show the love! Click (rate this post) under my name if I was helpful.

    My CodeBank Submissions: How to create a User Control | Move a form between Multiple Monitors (Screens) | Remove the MDI Client Border | Using Report Viewer with Visual Studio 2012 Express

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