Show: Delphi C++
Display Preferences

Vcl.ExtActns.TRichEditUnderline

From XE2 API Documentation
Jump to: navigation, search

Vcl.ExtActns.TRichEditActionVcl.StdActns.TEditActionVcl.ActnList.TActionVcl.ActnList.TCustomActionVcl.ActnList.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponent
TRichEditUnderline

Delphi

TRichEditUnderline = class(TRichEditAction)

C++

class PASCALIMPLEMENTATION TRichEditUnderline : public TRichEditAction

Contents

Properties

Type Visibility Source Unit Parent
class public
Vcl.ExtActns.pas
Vcl.ExtActns.hpp
Vcl.ExtActns Vcl.ExtActns

Description

TRichEditUnderline toggles the underline attribute of the currently selected text in a rich edit control.

Add TRichEditUnderline to an action list to let users control whether the selected text in a rich edit control is underlined. Controls such as menu items and tool buttons linked to this action cause the application to toggle the underline attribute of selected text (or of all text if there is no text selected).

TRichEditUnderline is designed to work with a rich edit control (TCustomRichEdit descendant) as a target. It automatically disables itself if the active control in a form is not a rich edit control, and adds or removes a check to indicate whether the target control's text is underlined.

See Also

Code Examples

Personal tools
Previous Versions
Translations