TdxRichEditControlInsertTableColumnToTheLeft Class
An action object that corresponds to the InsertTableColumnToTheLeft command in the Rich Edit control.
Declaration
TdxRichEditControlInsertTableColumnToTheLeft = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlInsertTableColumnToTheLeft action object inserts a column to the left of the leftmost column in the current selection area within a table. The resulting selection area matches the newly inserted column.
If there are no selected cells within the current table, a new column is inserted to the left of the cell in which the selection (i.e., the caret or selected text) is located.
UI elements linked to a TdxRichEditControlInsertTableColumnToTheLeft action object are enabled only if the following conditions are met:
The Rich Edit control’s ReadOnly property is set to False;
The Rich Edit control’s Options.DocumentCapabilities.Tables property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled;
The current selection is located within a table (i.e., the caret, selected text, or embedded image is located within a cell).
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlInsertTableColumnToTheLeft action object, use the sdxRichEditCommandInsertTableColumnToTheLeftMenuCaption and sdxRichEditCommandInsertTableColumnToTheLeftDescription resource strings, respectively.