hScroll

Specifies the horizontal scroll of a field or group.

# Metadata

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

# Syntax

set the hScroll of {field | group} to pixels

# Examples

set the hScroll of field "Wasps" to the width of field "Wasp"

# Description

Use the hScroll property to scroll a field or group horizontally, or to check how far it's been scrolled.

The hScroll is the amount in pixels the object has been scrolled to the right. If the hScroll is zero, the object has not been scrolled.

Setting the hScroll of a field or group causes a scrollbarDrag message to be sent.

# Tags

ui,

# See

- **property:** hScrollbar, pixels, formattedWidth - **message:** scrollbarDrag - **keyword:** field, integer - **constant:** scrollbarFactor - **object:** stack, field - **command:** group - **glossary:** object, property, message, group