Sign Up, Lost Password
Comments for Scrolling
Return to Scrolling
A new version of this scenario was uploaded on Fri Jun 29 10:17:08 UTC 2012 Better documentation and added the removedFromWorld methods in the scrollView and the Sliders, so they also remove their components.
A new version of this scenario was uploaded on Fri Jun 29 12:07:50 UTC 2012 -Added 2 new cells: SubtitleCell and ImageCell, I hope they're useful! -Better documentation -Added a new constructor in List, which takes an array of strings. It will display them with the default cells.
@darkmist255 Thank you, I saw many people could use a scroll view, but almost nobody knew how to create one. I hope you can so something great with it! And would you please click 'like'? :)
A new version of this scenario was uploaded on Fri Jun 29 14:21:55 UTC 2012 Really small bug fix.
A new version of this scenario was uploaded on Mon Jul 02 09:35:12 UTC 2012 -Fixed bugs -Renamed List to ListView, because it was is a real pain if you want to use this List along with the List datatype (java.util.List)
@-nic- Thanks! And, can you click 'like' please?
Well done! It would be much better, if you would add, that you can scroll with the mousewheel, too! :)
I'll take a look at it.
I don't think that's possible with greenfoot, but it's possible with other IDEs
SPower, take a look at this scenario: http://www.greenfoot.org/scenarios/2828
Maybe take a look at the documentation of the 'Mouse'-class in this scenario: http://www.greenfoot.org/scenarios/3438 The class can help you to add a scrolling with the mouse wheel! :)
Well, I've already tried it some time ago, but it seems there's a bug in the scroll bar class I'm using, and I guess I won't have time to look at it the coming time.