Scrolling Control?

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
5 posts Page 1 of 1
Contributors
User avatar
hungryhounduk
VIP - Site Partner
VIP - Site Partner
Posts: 2870
Joined: Mon Jul 27, 2009 11:58 am

Scrolling Control?
hungryhounduk
Hi
I have been trying to work out how you scroll a Picture or Pictures within a Control.

What i want to do is have a load of pictures on a Form and the ones that are hidden by the boundries of the control or form Area to be able to be scrolled by a Scrollbar?

any idea how i can achieve it, If it makes sense :)

reagrds

Chris
Image
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Re: Scrolling Control?
CodenStuff
Hello,


I think I know what you mean. You can do this with a panel control by adding it to your form and stretching it out then add your pictures inside the panel, then shrink the panel back down and enable its 'AutoScroll' propertie.

Try this download here:
scrollpics1.zip
Let me know if thats not quite what you needed.
You do not have the required permissions to view the files attached to this post.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
hungryhounduk
VIP - Site Partner
VIP - Site Partner
Posts: 2870
Joined: Mon Jul 27, 2009 11:58 am

Re: Scrolling Control?
hungryhounduk
Hi
You are a a star 8-)
I was trying it earlier on with a Picture box with Picturebox's within it and a scrollbar component :roll: No wonder it did not work..

regards

Chris
Image
User avatar
Martin
Supreme VIP
Supreme VIP
Posts: 369
Joined: Sat Aug 01, 2009 12:26 pm

Re: Scrolling Control?
Martin
Looks Great
Image
User avatar
Robby
VIP - Donator
VIP - Donator
Posts: 417
Joined: Mon Aug 03, 2009 4:01 am

Re: Scrolling Control?
Robby
robby1998 here

that is a really cool thing.

I know the best place where you can use this....
You can use this for a Picture Viewer so it just shows the images in there

that would be cool


ty, :D
Robby1998
My current Projects Listed Below:
Toixt++ Text Editor Just 10 or less more features to go!
Image
Image
5 posts Page 1 of 1
Return to “Tutorial Requests”