showValue

Specifies whether the current value of a scale-bar scrollbar is displayed in below the scrollbar.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

set the showValue of scrollbar to {true | false}

# Examples

set the showValue of scrollbar "Pages" to true

# Description

Use the showValue property to give the user an exact indication of the scrollbar position.

If the scrollbar's style property is set to "scrollbar" or "progress", the setting of its showValue property has no effect.

The showValue property displays the scale bar's current setting. If the scale bar is oriented vertically, the value is displayed to its right. If the scale bar is oriented horizontally, the value is displayed above (if the lookAndFeel is set to "Motif" ) or below it.

Whenever the scrollbar is scrolled and the thumb's position changes, the value is updated. (Use the startValue and endValue properties to set the scale of the scrollbar value.)

# Tags

ui,

# See

- **keyword:** scrollbar - **property:** showValue, lookAndFeel, endValue, properties - **function:** value - **glossary:** property - **object:** scrollbar