Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
Value returned: line chunk expression equal to the line that the user clicked or, if the text has been grouped, the first line of the longest range of lines with the text style Group around the character that the user clicked
The text style Group allows the clickLine
to extend beyond one line.
The chunk expression returned has the following form:
line posInteger of container
An expression that evaluates to a positive integer.
For example:
See also: background
, bkgnd
, button
, card
, chunk
, field
, menu
, and menuItem
HyperTalk Definition
A place where you can store and retrieve a value.
There are six types of containers in HyperCard: a variable, a button, a field, the selection, the Message box, and menus.
Additionally, you can refer to a button or field by its part number:
AppleScript Definition
An object that contains one or more other objects, known as elements of the container. In a reference, the container specifies where to find an object. You specify containers with the reserved words of
or in
.
You can also use the possesive form ('s
) to specify containers. For example, in
the container is first window
. The object it contains is a name property.