Table of Contents

TTMSFNCTrackBar Class

Track bar control for selecting a numeric value with a draggable thumb, optional buttons, tick marks, and custom drawing events.

API unit family: TMSFNCTrackBar Inherits from: TTMSFNCCustomTrackBar

Syntax

TTMSFNCTrackBar = class(TTMSFNCCustomTrackBar)

Properties

Name Description
Appearance Appearance settings used to draw the track bar. (inherited from TTMSFNCCustomTrackBar)
GlobalFont Global font source applied to text rendered by the control. (inherited from TTMSFNCCustomTrackBar)
Interaction Interaction settings that control value editing and repeated input. (inherited from TTMSFNCCustomTrackBar)
Max Maximum value selectable by the track bar. (inherited from TTMSFNCCustomTrackBarBase)
Min Minimum value selectable by the track bar. (inherited from TTMSFNCCustomTrackBarBase)
Value Current value selected by the track bar. (inherited from TTMSFNCCustomTrackBar)

Methods

Name Description
DecreaseByFrequency Decreases Value by the configured interaction frequency. (inherited from TTMSFNCCustomTrackBar)
EncreaseByFrequency Increases Value by the configured interaction frequency. (inherited from TTMSFNCCustomTrackBar)

Events

Name Description
OnAfterDrawButton Occurs after an increment or decrement button is drawn. (inherited from TTMSFNCCustomTrackBarBase)
OnAfterDrawThumb Occurs after the thumb is drawn. (inherited from TTMSFNCCustomTrackBar)
OnAfterDrawTickLabel Occurs after a tick label is drawn. (inherited from TTMSFNCCustomTrackBarBase)
OnAfterDrawTickMarks Occurs after tick marks are drawn. (inherited from TTMSFNCCustomTrackBarBase)
OnAfterDrawTrackLabel Occurs after the current-value track label is drawn. (inherited from TTMSFNCCustomTrackBarBase)
OnAfterDrawTrackLine Occurs after the track line is drawn. (inherited from TTMSFNCCustomTrackBarBase)
OnBeforeDrawButton Occurs before an increment or decrement button is drawn. (inherited from TTMSFNCCustomTrackBarBase)
OnBeforeDrawThumb Occurs before the thumb is drawn. (inherited from TTMSFNCCustomTrackBar)
OnBeforeDrawTickLabel Occurs before a tick label is drawn. (inherited from TTMSFNCCustomTrackBarBase)
OnBeforeDrawTickMarks Occurs before tick marks are drawn. (inherited from TTMSFNCCustomTrackBarBase)
OnBeforeDrawTrackLabel Occurs before the current-value track label is drawn. (inherited from TTMSFNCCustomTrackBarBase)
OnBeforeDrawTrackLine Occurs before the track line is drawn. (inherited from TTMSFNCCustomTrackBarBase)
OnChanged Occurs when the control state changes and the control is invalidated. (inherited from TTMSFNCCustomTrackBarBase)
OnValueChange Occurs while the value is changing. (inherited from TTMSFNCCustomTrackBar)
OnValueChanged Occurs after the value has changed. (inherited from TTMSFNCCustomTrackBar)

Used by