Please enable JavaScript to view this site.

DAQFactory User's Guide

Navigation: 7 Pages and Components > 7.18 The Components > 7.18.10 Sliders_&_Knobs

Scroll Bar Component

Scroll Prev Top Next More

This component displays a standard windows scroll bar that can set a value in a channel or variable based on the position of the handle.  The scroll bar will be drawn horizontally if the component's width is greater than its height.  Otherwise it will draw vertically.

Properties:

Main:

OutputTarget: the channel or variable name that is updated with the value of the pointer as the knob is dragged.  This is typically the same as the expression, but not always.

MinValue: value when the handle is all the way to the left or top of the scrollbar.

MaxValue: value when the handle is all the way to the right or bottom of the scrollbar.

StepSize: amount the handle is adjusted with each arrow press.

Format:

BackBrush, BackBrushPreset: brush (color) used to draw the background track of the scroll bar.

HandleBrush, HandleBrushPreset: brush (color) used to draw the moving handle of the scroll bar.

ButtonBackBrush, ButtonBackBrushPreset: brush (color) used to draw the background of the buttons at the ends of the scroll bar.

ArrowBrush, ArrowBrushPreset: brush (color) used to draw the background of the arrows on the buttons at the ends of the scroll bar.

Common Properties:

This component includes all the common properties of components described in section 7.4.4 but not the background properties.