Skip to main content
A newer version of this page is available. .

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:

To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlToggleTableFixedColumnWidth action object, use the sdxRichEditCommandToggleTableFixedColumnWidthMenuCaption and sdxRichEditCommandToggleTableFixedColumnWidthDescription resource strings, respectively.

See Also