Component like ubuntu unity's overlay scrollbar
Is there a component like ubun开发者_开发问答tu unity's overlay scrollbar for Delphi?
See also this video: http://vimeo.com/20523493
I use mostly Delphi 2007 but I don't really mind about the version.
The closest I have seen is the scrolling behaviour in the TMS Smooth Listbox.
It doesn't go "outboard" like your sample image, but instead it uses zero screen real-estate (hiding the scroll bar) until you mouse over the area, then you have to mouse down and "flick" the contents up or down, like you were using an iPad or iPod-touch.
The TMS controls come with full source code, and I believe you could probably modify them to paint the way you show above, if you know enough about GDI+.
A second alternative is to implement your own separate control and scrollview-container. Note that it's deceptively difficult to get something like this right, and that users will mostly prefer the standard windows way of working, and will quickly ask you for a configuration option to turn your innovations off, so be sure to code in an off-switch for them.
incidentally, this is so new-school, it's old school. The image/style for a thin line, and a big thumb, that ubuntu came up with is familiar to me, because it's similar to OpenLook, with the thumb moved a bit left or right, but less usable, because of the narrowness:
I particularly like this image which calls it an "elevator" which ascends and descends on a "cable":
精彩评论