Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
For scrolling fields, the scroll property returns or sets which lines of text currently appear (as indicated by the scroll bar). The integer represents the number of pixels that have scrolled above the top of the field’s rectangle. For example, the number of lines scrolled in card field 1 equals the scroll of card field 1 div the textHeight of card field 1.
For fields, HyperCard pins the scroll to a number between 0 and the maximum value for the field.
For the card window, the scroll property returns or sets a point that specifies the current horizontal and vertical offsets of the portion of the card currently visible in the card window. It affects the card image only when the size of the window is smaller than the size of the card.
An expression that identifies a field by name, number, or id using one of the following forms (in AppleScript, use “background” in place of “bkgnd”):
For example:
When used inside a field script in HyperTalk: me
When a field receives a message: [the] target
A field can also be referred to as a part when you’re talking about its position among all buttons and fields within the same card or background.
An expression that evaluates to a positive or negative integer or to zero. For example:
In AppleScript, integer is a value class.
HyperTalk Definition
An expression that evaluates to a specific screen location, in the form of two integers separated by a comma.
Item 1 of a point is the horizontal offset (in pixels). Item 2 of a point is the vertical offset (in pixels). For example:
AppleScript Definition
An expression that evaluates to a specific screen location, in the form of a list with two integer elements. For example: