+ Scrollable controls supply their own integrated scrollbars, + one for horizontal and one for vertical scrolling. + This class allows access to (one of) these integrated scrollbars. +
+ A scrollable control has both a physical (visible) client size, + and a virtual (scrollable) client size. +
+ The Range property reflects the virtual client size, + e.g. the total number of lines in an file. +
+ The Page property then reflects the number of lines, + actually visible in the scrollable control. + It also determines the size of the slider, relative to the total Range. +
+ The Position property then reflects + the number of the first visible line in the scrollable control, + equivalent to the top coordinate of the slider. + The Position can be changed by the user or by code. +
+ Scrollbars usually appear only when Range is higher than Page, + i.e. when not the entire content can be shown at the same time. + See the ScrollBar property of the scrolling control for details. +
+ The Range and Position can be limited to 16 bit (TScrollBarInc) precision internally, + what is sufficient for painting the scrollbar widget, + but may not be enough for the virtual content. + See the actual scrolling control for details. +
+ The scrollbar widget is visible only if (Visible=True) and (Range>Page). +
+ Set Visible to False to disallow the user to scroll the content, + while the content still can be scrolled by code. +
+ Use IsScrollBarVisible to get the current visible state of the widget. +
+