Results 1 to 3 of 3

Thread: Scrollbar of the form !

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    NY
    Posts
    12
    hi all
    can any one tell that how to link data of picture & Scrollbars , I mean how to scroll Picture's data.
    -Mala

  2. #2
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    Do this:

    Put the picturebox with the actual picture inside of another picturebox. Add a scrollbar to the sides (make it look good)

    Now when the scrollbar_scroll event fires, figure out the value of the bar (scrollbar.value) and then the top/left of the picture is that value. You need to set the min/max property of the scroll bar to make sure the picture doesn't disappear.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  3. #3
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274
    Hi
    Look at the code on this link. Place controls on the inner pic box.
    http://www.vbforums.com/showthread.p...ghlight=scroll
    also, have u considered other methods besides scrolling the form. eg tabs?
    Regards
    Stuart
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

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