Skip to main content

TdxRichEditControlToggleParagraphAlignmentLeft Class

An action object that corresponds to the ToggleParagraphAlignmentLeft command provided by the Rich Edit control.

Declaration

TdxRichEditControlToggleParagraphAlignmentLeft = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlToggleParagraphAlignmentLeft action object aligns text to the left document margin within either the selected paragraph(s) or a paragraph in which the caret is located. If the current paragraph is already aligned to the left document margin, the ToggleParagraphAlignmentLeft command can do one of the following:

  • Restore the previous paragraph alignment setting.
  • Justify text within the current paragraph between the left and right document margins provided that the paragraph has no previous alignment setting.

UI elements linked to a TdxRichEditControlToggleParagraphAlignmentLeft action object are enabled only if the following conditions are met:

See Also