Vcl.ExtActns.TRichEditAlignLeft

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.ExtActns.TRichEditActionVcl.StdActns.TEditActionVcl.ActnList.TActionVcl.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentTRichEditAlignLeft

Delphi

TRichEditAlignLeft = class(TRichEditAction)

C++

class PASCALIMPLEMENTATION TRichEditAlignLeft : public TRichEditAction

Properties

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

Description

TRichEditAlignLeft left-justifies the text in the current paragraph of a rich edit control.

Add TRichEditAlignLeft to an action list to let users left-justify the text in a rich edit control. Controls such as menu items and tool buttons linked to this action cause the application to align the text in all paragraphs that contain selected text (or the paragraph with the cursor if no text is selected) to the left margin.

TRichEditAlignLeft 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 mark to indicate whether the text in the target control is left-aligned.

See Also