Results 1 to 2 of 2

Thread: Scroll Bars ?

  1. #1

    Thread Starter
    Fanatic Member kinjalgp's Avatar
    Join Date
    Apr 2000
    Location
    India
    Posts
    535

    Red face

    Whenever I set the .max properties of a scroll bar i.e. vscroll1.max=picture1.height , the picture scrolls almost double than it's height.
    What is the right way to scroll the picturebox inside another picturebox so that is scrolls to it's exact height?

    Kinjal

  2. #2
    Addicted Member drewski's Avatar
    Join Date
    Feb 2000
    Location
    WA
    Posts
    242

    Cool

    You need to subtact the height of your picture box from the height of the actual picture. This will give you your max value for your scroll bar.

    If this doesn't work let me know. I could send you some source if you were really thick headed

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