ComponentOne List 8.0 for ActiveX
Customizing the Scrollbars

In some applications, you may want to change the thickness of the scroll bars on the list control. By setting the HScrollHeight and VScrollWidth properties, you can modify the thickness of each scroll bar individually in code.

As in the following code, you can change the HScrollHeight and VScrollWidth property values, to create most any scroll bar thickness variation.

Example Title
Copy Code
Private Sub Command1_Click()

    TDBList1.VScrollWidth = 200

    TDBList1.HScrollHeight = 200

End Sub

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback