HyperCard: Setting Field‘s Text Alignment (7/92)


Here's a script that you can use to set the TextAlign property of a field
to determine the way lines of text are aligned in a given field.

on mouseUp (or openCard or any other handler)
set TextAlign of field x to left --(or right, or center).
end mouseUp (or openCard or any other handler)

This script works in versions 1.2.5 and 2.0x of HyperCard.



This article is adapted from the Claris Tech Info database.
Published Date: Feb 19, 2012