TdxRichEditControlFloatingObjectSendBackward Class
An action object that corresponds to the FloatingObjectSendBackward command provided by the Rich Edit control.
Declaration
TdxRichEditControlFloatingObjectSendBackward = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlFloatingObjectSendBackward
action object decrements the selected floating object’s Z-order by one. If the floating object is already displayed underneath all other objects within the same layer (i.e., the current Z-order value is zero), executing this action object has no effect. In order to move the currently selected floating object between the document’s layers (i.e., wrap text around the floating object, anchor it in front of, or behind text), you can use the SetFloatingObjectSquareTextWrapType, SetFloatingObjectInFrontOfTextWrapType, and SetFloatingObjectBehindTextWrapType commands.
UI elements linked to a TdxRichEditControlFloatingObjectSendBackward
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.DocumentCapability.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).