TdxRichEditControlSetSectionOneColumn Class
An action object that corresponds to the SetSectionOneColumn command provided by the Rich Edit control.
Declaration
TdxRichEditControlSetSectionOneColumn = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlSetSectionOneColumn action object shapes the content of the current document section (i.e., the section in which the caret or text selection is located) into a single column:
UI elements linked to a TdxRichEditControlSetSectionOneColumn action object are enabled only if the following conditions are met:
The current document is not opened in read-only mode (i.e., the Rich Edit control’s ReadOnly property is set to False);
The document section modification functionality is enabled (i.e., the Rich Edit control’s Options.DocumentCapabilities.Sections property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlSetSectionOneColumn action object, use sdxRichEditCommandSetSectionTwoColumnsMenuCaption and sdxRichEditCommandSetSectionTwoColumnsDescription resource strings, respectively.