The TrackBarWithIndicator is a control that lets you select a value from a range using either a track-bar or linked numeric control. The TrackBarWithIndicator control can send a message to a connected device whenever the value changes. Its run-time properties can be referenced in command messages.

Design-time properties for the TrackBarWithIndicator control
OrientationSets whether the control is horizontal with the numeric value on the right or vertical with the numeric value below the slider
ShowNumericValuesHides/shows the attached numeric control
DelaySendingChangesWhen true, change messages are sent when the mouse button is released. Otherwise value changes are sent as the track-bar slider is moved
ValueThe current value of control
MinimumSets the minimum value of the control
MaximumSets the maximum value of the control
ValueChangedCommandNameThe command message to send, if any, to a connected serial device when the valueis changed
Run-time Properties for the TrackBarWithIndicator control
NameRead onlystringThe name of the control
ValueRead/writeIntegerThe current value
MinimumRead/writeIntegerGets/sets the minimum control value
MaximumRead/writeIntegerGets/sets the maximumcontrol value
Run-time properties common to most controls
VisibleRead/writeboolHide/show the control
EnabledRead/writeboolEnable/disable the control. When a control is disabled it is visible but shown grayed out and you can't interact with it.
ForeColorRead/writestringAdjust the foreground color
BackColorRead/writestringAdjust the background color
Recent Posts

Leave a Comment

Start typing and press Enter to search