|
-
May 30th, 2007, 12:11 PM
#1
Thread Starter
Junior Member
[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
-
May 30th, 2007, 08:31 PM
#2
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.
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
|