HyperCard: Setting Text Style (7/92)

Here's a handler you can use to set the style in which text appears in a
given field.

on mouseUp -- (or openCard or any other handler)
set the TextStyle of field x to plain -- (or bold, shadow, etc.)
end mouseUp -- (or openCard or any other handler)

This 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