TdxRichEditControlInsertTextBox Class
An action object that corresponds to the InsertTextBox command provided by the Rich Edit control.
Declaration
TdxRichEditControlInsertTextBox = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlInsertTextBox
action object inserts a floating text box horizontally centered within the current paragraph. The newly created text box is positioned in front of the text.
UI elements linked to a TdxRichEditControlInsertTextBox
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.FloatingObjects property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.
- The caret or text selection is not located within a floating text box.
Inheritance
TObject
TPersistent
TComponent
TBasicAction
TContainedAction
TCustomAction
TAction
TdxBasicAction
TdxRichEditControlAction
TdxRichEditControlInsertTextBox
See Also