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.
Inheritance
TObject
TPersistent
TComponent
TBasicAction
TContainedAction
TCustomAction
TAction
TdxBasicAction
TdxRichEditControlAction
TdxRichEditControlToggleTableFixedColumnWidth
See Also