Table of Contents

TTMSFNCCustomScrollControl Class

Base class for scrollable controls that manages horizontal and vertical scroll bars, animated touch scrolling, and clip-rect rendering for large content areas.

API unit family: TMSFNCCustomScrollControl Inherits from: TTMSFNCCustomControl

Syntax

TTMSFNCCustomScrollControl = class(TTMSFNCCustomControl)

Methods

Name Description
BeginUpdate Suspends scroll bar recalculation and repainting until EndUpdate is called.
CustomHorizontalScrollBar Returns a reference to the custom horizontal scroll bar when CustomScrollBars is True.
CustomVerticalScrollBar Returns a reference to the custom vertical scroll bar when CustomScrollBars is True.
EndUpdate Resumes scroll bar recalculation and repainting after a BeginUpdate call.
GetHorizontalScrollMax Returns the maximum reachable horizontal scroll position in pixels.
GetHorizontalScrollPosition Returns the current horizontal scroll position in pixels.
GetVerticalScrollMax Returns the maximum reachable vertical scroll position in pixels.
GetVerticalScrollPosition Returns the current vertical scroll position in pixels.
HorizontalScrollBar Returns a reference to the built-in horizontal scroll bar control.
RestoreScrollPosition Restores the horizontal and vertical scroll positions saved by a previous SaveScrollPosition call.
SaveScrollPosition Stores the current horizontal and vertical scroll positions so they can be restored later.
VerticalScrollBar Returns a reference to the built-in vertical scroll bar control.