Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
The textSize property returns or sets the size, in pixels, of the font for Paint text, text in a field, a button name, or the Message box. The default value is 12.
Note: if a chunk of a field contains a mixture of sizes, HyperCard returns mixed when you ask for the textSize.
An expression that evaluates to a positive integer.
For example:
See also: background, bkgnd, button, card, chunk, field, menu, and menuItem
One of the following forms (or combinations thereof):
For example:
A chunk combined with of and a container is called a chunk expression. For example: line 1 of card field "index"
Important: You can’t combine a stack name with a chunk expression—you can only refer to a chunk in the current stack.
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.
HyperTalk Definition
An expression that identifies a button by name, number, or id, using one of the following forms:
For example:
When used inside a button script: me
When a button receives a message: [the] target
A button 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.
AppleScript Definition
An expression that identifies a button by name, number, or id, using the same forms as HyperTalk except that “background” must be used in place of “bkgnd”.