[Mono-winforms-list] scrollbar control

Jonathan Gilbert 2a5gjx302@sneakemail.com
Wed, 22 Sep 2004 20:36:01 -0400


Just wondering if the scrollbar controls have already been written. If not,
I have something to contribute that may be of use. It is a precise clone of
the Windows scrollbar with the VB6 interface to it (e.g., .Min, .Max
instead of .Minimum and .Maximum, and separate events Scroll and Change
instead of one event with ScrollEventArgs to distinguish).

I don't think it should be too hard to port the interface to conform to
.NET's System.Windows.Forms.?ScrollBar, and, well, I learned from
experience back when I wrote this (several years ago, and ported to C# from
the original VB6 about 1 year ago) that matching the behaviour of Windows'
scrollbar precisely is quite a difficult task.

So, let me know if you're interested in my code. :-)