TdxRichEditControlToggleTableFixedColumnWidth Class
An action object that corresponds to the ToggleTableFixedColumnWidth command provided by the Rich Edit control.
Declaration
TdxRichEditControlToggleTableFixedColumnWidth = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlToggleTableFixedColumnWidth action object switches between two column width modes of the currently focused table:
Current column widths are not affected by cell contents;
A width is automatically adjusted to fit the longest content in the column.
UI elements linked to a TdxRichEditControlToggleTableFixedColumnWidth 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 caret, a text selection or selected image is located within a table.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlToggleTableFixedColumnWidth action object, use the sdxRichEditCommandToggleTableFixedColumnWidthMenuCaption and sdxRichEditCommandToggleTableFixedColumnWidthDescription resource strings, respectively.