TextHiliteColor property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax OLE_COLOR TextHiliteColor

Overview:  Refer to Drawing Three-Dimensional Shapes and Text.

Remarks

(Persistent property, available at design time) Specifies the highlight color of a text object. You specify other aspects of the text object using related properties described in Drawing Three-Dimensional Shapes and Text.

The DrawText method draws the text object in the control's client area or on the current bitmap.

The highlight color is used only for the following TextStyle values:

EFX_TEXTSTYLE_INSETLIGHT
EFX_TEXTSTYLE_INSETEXTRALIGHT
EFX_TEXTSTYLE_INSETHEAVY
EFX_TEXTSTYLE_INSETEXTRAHEAVY
EFX_TEXTSTYLE_RAISEDLIGHT
EFX_TEXTSTYLE_RAISEDEXTRALIGHT
EFX_TEXTSTYLE_RAISEDHEAVY
EFX_TEXTSTYLE_RAISEDEXTRAHEAVY
EFX_TEXTSTYLE_OUTLINEBLOCK
EFX_TEXTSTYLE_MAX

See Also

Elements:  DrawText method

Topics:  Raster Images: Drawing on a Bitmap
Working with the Control: Client Area Usage