Top  | Previous | Next

Slider

A basic Slider

A basic Slider

A vertical Slider<br>
with a custom<br>
range

A vertical Slider
with a custom
range

A Slider with tickmarks<br>
and labels, 0-100

A Slider with tickmarks
and labels, 0-100

Description

The slider component lets the user drag an indicator along a scale to choose a value in a range. The Defer Updates property determines whether or not the slider's Value changes as the user drags the mouse, or whether it waits until the user drops the slider handle.

Properties

Appearance

Font

Font of text of this component

Scripting name

font

Data type

Font

Foreground Color

The foreground color of the component.

Scripting name

foreground

Data type

Color

Background Color

The background color of the component.

Scripting name

background

Data type

Color

Flags

expert

Horizontal Slider

If true, slider is horizontal. Otherwise, it's vertical

Scripting name

horizontal

Data type

boolean

Major Tick Spacing

The distance, measured in values, between each major tick mark

Scripting name

majorTickSpacing

Data type

int

Minor Tick Spacing

The distance, measured in values, between each minor tick mark

Scripting name

minorTickSpacing

Data type

int

Paint Track?

If true, the trac of the slider will be shown.

Scripting name

paintTrack

Data type

boolean

Paint Labels?

If true, value labels will be shown.

Scripting name

paintLabels

Data type

boolean

Paint Ticks?

If true, value tick marks will be shown.

Scripting name

paintTicks

Data type

boolean

Antialias

Draw with antialias on? Makes text smoother

Scripting name

antialias

Data type

boolean

Flags

expert

Styles

Contains the component's styles

Scripting name

styles

Data type

Dataset

Flags

bindable | expert

Behavior

Defer Updates

Only publish updates to value when not actively being changed.

Scripting name

deferred

Data type

boolean

Snap To Ticks?

 

Scripting name

snapToTicks

Data type

boolean

Inverted?

Specify true to reverse the value range shown for the slider and false to put the value range in the normal order.

Scripting name

inverted

Data type

boolean

Common

Name

The name of this component.

Scripting name

name

Data type

String

Flags

bindable

Enabled

If disabled, a component cannot be used.

Scripting name

componentEnabled

Data type

boolean

Visible

If disabled, the component will be hidden.

Scripting name

visible

Data type

boolean

Flags

bindable

Border

The border surrounding this component. NOTE that the border is unaffected by rotation.

Scripting name

border

Data type

Border

Mouseover Text

The text that is displayed in the tooltip which pops up on mouseover of this component.

Scripting name

toolTipText

Data type

String

Cursor

The mouse cursor to use when hovering over this component.

Scripting name

cursorCode

Data type

int

Values

0

Default

1

Crosshair

2

Text

3

Wait

12

Hand

13

Move

4

SW Resize

5

SE Resize

6

NW Resize

7

NE Resize

8

N Resize

9

S Resize

10

W Resize

11

E Resize

Data

Value

The current value of the slider.

Scripting name

value

Data type

int

Flags

bindable

Minimum Value

The value when the slider is all the way left or down

Scripting name

minimum

Data type

int

Flags

bindable

Maximum Value

The value when the slider is all the way right or up

Scripting name

maximum

Data type

int

Flags

bindable

Data Quality

The data quality code for any tag bindings on this component.

Scripting name

dataQuality

Data type

int

Flags

bindable | expert

Scripting

Events

The following event sets are fired by this component. See Component Event Handlers to learn more.

mouse
mouseMotion
focus
propertyChange
key

 

Scripting Functions

This component has no special scripting functions.