We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Flat ScrollBars in GDBG

Hi all, Can I use flat scrollbars in GDBD? If so, how could that be accomplished? TIA Jose

1 Reply

AD Administrator Syncfusion Team February 11, 2004 01:04 PM UTC

We have no direct support for drawing flat scrollbars on Win2K or WinNT. You can use themed scrollbars on WinXP. That said, in the Shared library, there are two unsupported flatscrollbar classes (Syncfusion.Windows.Forms.FlatHScrollBar, Syncfusion.Windows.Forms.FlatVScrollBar) which attempt to mimic IE6 flatscrollbars. There is a 1 pixel drawing glitch we currently do not have a solution for. Ultimately, we will probably do our own scrollbars, but there is no schedule for that work. If you look at the Grid\Samples\QuickStart\Scrollbars sample, it shows how you can use standard windows forms scrollbars with a grid and position them anywhere on the form. You could dock them next to the grid in a standard position. But this will not get you flatbars. But instead of the Windows Forms Scrollbars used in the sample, you could try to use the two flatscrollbar classes (Syncfusion.Windows.Forms.FlatHScrollBar, Syncfusion.Windows.Forms.FlatVScrollBar). Again, these classes are not really supported so you are on your own when you try to use them.

Live Chat Icon For mobile
Up arrow icon