Table of Contents

TMS FNC Spin Edit User Guide

TTMSFNCSpinEdit is a cross-framework numeric spin box. It keeps a Value bounded between Min and Max, which the user changes with the plus/minus buttons or — when Interaction.Editable is on — by typing directly into the field. The step per click is set through Interaction.Frequency, holding a button repeats the change, and EditFieldPrecision enables decimal values. Buttons and the value field are fully styleable in horizontal or vertical layouts. This guide explains the value model, the editable field, appearance and repeat-click, and how to feed the value into live validation.

Topics

Guide Description
Spin Edit Guide Value range and step, the editable field and keyboard, orientation and button shape, repeat-click, decimal precision, and a live-validation combination example.

Key concepts

  • Bounded Value. Min/Max constrain Value (a Single); typed and clicked input are clamped automatically.
  • Step is Interaction.Frequency. The per-click increment lives on Interaction, alongside RepeatClick/RepeatInterval for hold-to-repeat.
  • Editing is opt-in. Set Interaction.Editable := True to allow direct typing; EditFieldPrecision controls decimals.