Table of Contents

TMS FNC Spinner User Guide

TTMSFNCSpinner is a scrollable drum-wheel selector — the compact, gesture-driven picker familiar from mobile date and time entry. It holds one or more columns in its Columns collection, and each column is configured by its RangeType: a numeric range, a date/time range, or a custom list of named items. The three column types can be mixed freely in a single control, every column can wrap (Cyclic) and snap smoothly, and the selection is reported through OnSelectedValueChanged. This guide covers each column type, mixing them, appearance and scrolling, and reading the result.

Topics

Guide Description
Spinner Guide Numeric, date/time, and custom-item columns; mixing column types; appearance and smooth scrolling; and reading SelectedValue.

Key concepts

  • Columns collection. Each entry is a TTMSFNCSpinnerColumn; its RangeType (rtNumber/rtDateTime/rtCustom) decides which range properties apply.
  • Index-based change event. OnSelectedValueChanged passes the column index, the custom-item index, the value, and the range type — index into Columns to read more.
  • Cyclic and smooth scrolling. Cyclic wraps a column at its ends; SmoothScrolling snaps to the nearest value on release rather than during the drag.