ImageEn, unit iexRichEdit

TIETextAttributes.UnderlineColor

TIETextAttributes.UnderlineColor

Declaration

property UnderlineColor: TIEUnderlineColor;

Description

Specify the color of the underline. This allows the underline to have a different color than the text.

Example

// Apply a red underline to the text
IERichEdit1.SelAttributes.Underline := True;
IERichEdit1.SelAttributes.UnderlineColor := clRed;