TdxRichEditControlFloatingObjectSendBehindText Class
An action object that corresponds to the FloatingObjectSendBehindText command provided by the Rich Edit control.
Declaration
TdxRichEditControlFloatingObjectSendBehindText = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlFloatingObjectSendBehindText
action object moves the currently selected floating object to the “background” document layer (i.e., anchors the floating object behind the text).
If the floating object is already anchored behind text, executing this action object has no effect. A TdxRichEditControlFloatingObjectSendBehindText
action object is an equivalent of the TdxRichEditControlSetFloatingObjectBehindTextWrapType action.
To change the floating object’s Z-order within the same document layer, you can use the FloatingObjectBringForward, FloatingObjectSendBackward, FloatingObjectSendToBack, and FloatingObjectBringToFront commands.
UI elements linked to a TdxRichEditControlFloatingObjectSendBehindText
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.
- A floating object is currently selected.
- The selection is not located within a floating object (for instance, the caret or text selection is not located within a text box).