DelphiVCL.ScrollBar or TScrollBar is a Windows scroll bar, which is used to scroll the contents of a window, form, or control.
We can use TScrollBar to add a free-standing scroll bar to a form. Many controls have properties that add scroll bars which are an integral part of the control (TControlScrollBar objects). TScrollBar allows controls that do not have integrated scroll bars or groupings of controls to be scrolled when the user manipulates the TScrollBar object.
When the bi-directional mode of a scroll bar is changed, its coordinate system is reversed. Position zero in left-to-right mode is the left side, and position zero in right-to-left mode is the right side.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.ScrollBar using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.ScrollBar) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.ScrollBar using the print() command:
1 2 |
print(DelphiVCL.ScrollBar) print(DelphiVCL.ScrollBar.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.