Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
where text
is the name of a font available from the current stack.
The textFont
property returns or sets the current font of the Paint Text tool, text in a field, a button name, or the Message box.
The default value is Geneva
for fields, Paint text, and the Message box; the default value is Chicago
for buttons.
Note: if a chunk of a field contains a mixture of fonts, HyperCard returns mixed
when you ask for the textFont
.
An expression that evaluates to a text string.
A text expression can be a literal string surrounded by quotation marks or the value of a container.
For example:
See also: background, bkgnd, button, card, field, menu, menuItem,
and stack
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”):
-- name
card field id 3894
card field "My Notes"
card field 1
first card field
background field 3 of card 1
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: When a button receives a message: 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”.button
me
[the] target