Table of Contents

ITMSFNCDataGridExternalScrollBar Interface

Contract for a custom scroll bar control that can replace the built-in grid scroll bars. Implement this interface on a scroll bar component and assign it via the grid's scroll bar properties to use an external control for scrolling.

API unit family: TMSFNCDataGridRenderer

Syntax

ITMSFNCDataGridExternalScrollBar = interface

Properties

Name Description
LargeChange Amount scrolled per page-up/page-down key or track click.
Max Maximum scroll position. Set by the grid to match the total scrollable range.
Min Minimum scroll position. Typically 0.
PageSize Size of the visible page relative to the total scroll range. Controls the thumb size of the scroll bar.
SmallChange Amount scrolled per arrow-button click or keyboard arrow key.
Value Current scroll position expressed in the same units as Min and Max.
Visible When True, the scroll bar control is visible. The grid sets this to False when all content fits in the viewport.

Events

Name Description
OnChange Fires when the scroll position changes. The grid wires this event to trigger a redraw.

Used by