TdxRichEditControlToggleTableCellsInsideHorizontalBorder Class
An action object that corresponds to the ToggleTableCellsInsideHorizontalBorder command provided by the Rich Edit control.
Declaration
TdxRichEditControlToggleTableCellsInsideHorizontalBorder = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlToggleTableCellsInsideHorizontalBorder action object either hides or displays internal horizontal printable borders within the selected table or cell range:
UI elements linked to a TdxRichEditControlToggleTableCellsInsideHorizontalBorder 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 (i.e., the caret, a text selection, cell selection, or selected image) is located within a table.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlToggleTableCellsInsideHorizontalBorder action object, use the sdxRichEditCommandToggleTableCellsInsideHorizontalBorderMenuCaption and sdxRichEditCommandToggleTableCellsInsideHorizontalBorderDescription resource strings, respectively.
Note
To switch the visibility of vertical internal table borders, use a TdxRichEditControlToggleTableCellsInsideVerticalBorder action object.