Labels

A TLabel is a drawable entity that can have enabled, active, or selected with different colors for those states.

A TGraphicLabel is a concrete derived class that you can use for wrapping any MGraphic in a label. It uses a gray blend transfer mode to provide a disabled look for the adopted MGraphic as shown in the disabled labels as in Figure 34 on page 93.

A TTextLabel is another concrete derived class of TLabel that you can use for wrapping any TText. It uses a TTextColorStyle to gray out the text in disabled labels as in Figure 34 on page 93. You can also use a TTextLabel as to create lots of small unstyled text labels more quickly than with the TTextDisplay class.


[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