TCustomRVControl = class (TCustomControl)
TRVScroller = class(TCustomRVControl)
This is a control what can scroll its content.
Due to limitation of scrollbar ranges, its vertical scrollbar units are not pixels but special units, "RVSU" (10 pixels by default).
Do not use this class directly in your program. Use its descendants, such as TRichView.
TRVScroller is not registered as a component itself. It introduces some properties and methods used in descendant components.
The most important properties of TRVScroller are:
▪VScrollPos –- position of vertical scrollbar, measured in "RVSU";
▪VScrollMax (read-only) –- maximum value of VScrollPos;
▪NoHScroll –- disallows horizontal scrolling;
▪NoVScroll –- disallows vertical scrolling;
▪HScrollPos –- position of horizontal scrollbar, measured in pixels;
▪HScrollMax (read-only) –- maximum value of HScrollPos;
▪WheelStep defines speed of mouse wheel scrolling;
▪InplaceEditor –- returns "inplace" editor of some item in document (used in tables for editing cells).
The most important method is:
▪ScrollTo, scrolls content of the component vertically to the specified position (in pixels).