The TrackBarWithIndicator is a control that lets you select a value from a range using either a track-bar or linked numeric control. The linked numeric control can be hidden if you wish (see ShowNumericValues property). The TrackBarWithIndicator control can send a message to a connected device whenever the value changes and be updated by commands sent from your Arduino sketch.

TrackBarWithIndicator control properties
Property Access Type Method Description
Orientation Design-only Orientation Sets whether the control is horizontal with the numeric value on the right or vertical with the numeric value below the slider
ShowNumericValues Design-only bool Hides/shows the attached numeric control
DelaySendingChanges Design-only bool When true, change messages are sent when the mouse button is released. Otherwise value changes are sent as the track-bar slider is moved
Value Read/write Integer SetNumber The current value of control
Minimum Read/write Integer SetMinimum Sets the minimum value of the control
Maximum Read/write Integer SetMaximum Sets the maximum value of the control
ValueChangedCommandName Design-only string The command message to send, if any, to a connected serial device when the value is changed

This control also supports all the common control properties.

Start typing and press Enter to search