Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxRichEditControlSetFloatingObjectInFrontOfTextWrapType Class

An action object that corresponds to the SetFloatingObjectInFrontOfTextWrapType command provided by the Rich Edit control.

#Declaration

Delphi
TdxRichEditControlSetFloatingObjectInFrontOfTextWrapType = class(
    TdxRichEditControlAction
)

#Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlSetFloatingObjectInFrontOfTextWrapType action object moves the floating object to the “foreground” document layer (i.e., anchors the floating object in front of the text).

VCL Rich Edit Control: A Set Floating Object In Front of Text Wrap Operation Example

If the floating object is already anchored in front of the text, executing this action object has no effect. A TdxRichEditControlSetFloatingObjectInFrontOfTextWrapType action object is the equivalent of the TdxRichEditControlFloatingObjectBringInFrontOfText action.

To change the floating object’s Z-order within the same document layer, you can use FloatingObjectBringForward, FloatingObjectSendBackward, FloatingObjectSendToBack, and FloatingObjectBringToFront commands.

UI elements linked to a TdxRichEditControlSetFloatingObjectInFrontOfTextWrapType action object are enabled only if the following conditions are met:

See Also