Livecode Wiki

Specifies the horizontal scroll of a field or group.Syntax:

set the hScroll of {<field> | <group>} to <pixels>


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

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(glossary) has been scrolled to the right. If the hScroll is zero, the object(glossary) has not been scrolled.

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

See also: scrollbarDrag (message),stack (object),field (object),hScrollbar (property),pixels (property),formattedWidth (property),