Results 1 to 2 of 2

Thread: Panels and picture boxes - resetting

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2003
    Posts
    830

    Panels and picture boxes - resetting

    Hello,

    I have an AutoScroll Panel with a picturebox. If the picture is larger than the panel the horizontal and vertical scrollbars appear. The problem I am having is when drag (or pan) the pictures and then move the scrollbars to see it.....well all this works ok. The problem comes in when I reset everything. The next time I load a picture, it doesn't load at my origin (0,0). It is offset.

    Anyway.....is there code to reset the scroll bars of a panel?

    Thanks!

  2. #2
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536
    Can you post the code that you have? Better still, make a new project that just reproduces the problem and post that.
    This world is not my home. I'm just passing through.

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