TdxRichEditControlInsertTableRowAbove Class
An action object that corresponds to the InsertTableRowAbove command provided by the Rich Edit control.
Declaration
TdxRichEditControlInsertTableRowAbove = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlInsertTableRowAbove
action object inserts a row above the top row 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 row is inserted above the cell in which the selection (i.e., the caret or selected text) is located.
UI elements linked to a TdxRichEditControlInsertTableRowAbove
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).
Inheritance
TObject
TPersistent
TComponent
TBasicAction
TContainedAction
TCustomAction
TAction
TdxBasicAction
TdxRichEditControlAction
TdxRichEditControlInsertTableRowAbove
See Also