hScroll

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the hScroll of {<field> | <group>} to <pixels>
Associationsfield, group
Summary

Specifies the horizontal scroll of a field or group.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the hScroll of field "Wasps" to the width of field "Wasp"
Values
NameTypeDescription
Value

The hScroll of a field, group, or stack is an integer between zero and the field's or group's formattedWidth. By default, the hScroll property of newly created objects is set to zero.

RelatedProperty: hScrollbar, pixels, formattedWidth
Message: scrollbarDrag
Keyword: field, integer
Constant: scrollbarFactor
Object: stack, field
Command: group
Glossary: object, property, message, group
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.

Tagsui