|
-
Aug 31st, 2001, 10:02 AM
#1
Thread Starter
New Member
hi all
can any one tell that how to link data of picture & Scrollbars , I mean how to scroll Picture's data.
-Mala
-
Aug 31st, 2001, 12:26 PM
#2
Frenzied Member
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.
-
Aug 31st, 2001, 09:49 PM
#3
PowerPoster
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
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
|