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”):
-- name
card field id 3894
card field "My Notes"
card field 1
first card field
background field 3 of card 1
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:integer
point