![](../../../Home/Icons/Home.gif)
![](../icons/UpBook.gif)
![](../icons/BookContext.gif)
![](../../../Home/Icons/Search.gif)
![](../../../Home/Icons/Help.gif)
![](../../icons/button_contents.gif)
![](../../icons/button_previous.gif)
Displaying static text
For formatting and displaying editable text, use the Text Editing framework. This framework integrates all the system's lower-level text display facilities.
For simple text elements, the text system includes these classes you can use to display static text strings:
- TTextDisplay encapsulates a text instance and provides a Draw function that lets you display the text. For each TTextDisplay object, you can specify a font, point size, and color for the encapsulated text.
- TTextGraphic provides an easy way for you to create static text and treat it as if it were a graphic. You can transform a TTextGraphic object just as you can any MGraphic object.
You can use TTextDisplay and TTextGraphic to create simple static text elements, such as labels or buttons, or as elements within other displays. To create displayable text elements that an end user can edit, use the Text Editing framework.
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.
Generated with WebMaker