TMS FNC Range Slider User Guide
TTMSFNCRangeSlider is a two-thumb slider for selecting a numeric range between a Min and a Max bound. Unlike a single-value track bar, it exposes two ordered positions — ValueLeft and ValueRight — so users can set both ends of a band such as a price range, a numeric threshold window, or a zoom interval. The thumbs cannot cross, every change is reported through dedicated events, and the full appearance (orientation, fill zones, thumbs, tick marks, and labels) is themable or fully custom-drawable.
This guide is split by task.
Topics
| Guide | Description |
|---|---|
| Values, events, and interaction | The Min/Max/ValueLeft/ValueRight model, snapping with Frequency, the three change events and their timing, data binding, and live data filtering. |
| Appearance and rendering | Orientation, the three coloured track zones, thumb styling, tick marks and value labels, and custom thumb drawing. |
Key concepts
- Two ordered values.
ValueLeftandValueRightare always kept withinMin/Maxand never cross, so handlers can read them directly. - Three change events.
OnValueChangefires continuously during a drag,OnValueChangedonce after release, andOnChangedon any state change — pick the cheap one for previews and the committed one for queries. - Three track zones. The two thumbs split the track into left, middle, and right segments, each with its own fill and stroke for highlighting the selection.