326
Example
The following handler finds the last component in a Macintosh pathname. The handler first
records the current delimiter and then changes the delimiter to a colon (:). When a colon is the
delimiter, Lingo can use
the last item of
to determine the last item in the chunk that makes
up a Macintosh pathname. Before exiting, the delimiter is reset to its original value.
on getLastComponent pathName
save = the itemDelimiter
the itemDelimiter = ":"
f = the last item of pathName
the itemDelimiter = save
return f
end
kerning
Syntax
member(
whichTextMember
)
.
kerning
Description
Text cast member property; this property specifies whether the text is automatically kerned when
the contents of the text cast member are changed.
When set to
TRUE
, kerning is automatic; when set to
FALSE
, kerning is not done.
This property defaults to
TRUE
.
See also
kerningThreshold
kerningThreshold
Syntax
member(
whichTextMember
)
.
kerningThreshold
Description
Text cast member property; this setting controls the size at which automatic kerning takes place in
a text cast member. This has an effect only when the kerning property of the text cast member is
set to TRUE.
The setting itself is an integer indicating the font point size at which kerning takes place.
This property defaults to 14 points.
See also
kerning
key()
Syntax
the key
Description
Function; indicates the last key that was pressed. This value is the American National Standards
Institute (ANSI) value assigned to the key, not the numerical value.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...