Skip to main content
A newer version of this page is available. .

TdxRichEditControlFloatingObjectBringInFrontOfText Class

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

Declaration

TdxRichEditControlFloatingObjectBringInFrontOfText = class(
    TdxRichEditControlAction
)

Remarks

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

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

In order 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 TdxRichEditControlFloatingObjectBringInFrontOfText action object are enabled only if the following conditions are met:

To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlFloatingObjectBringInFrontOfText action object, use the sdxRichEditCommandFloatingObjectBringInFrontOfTextMenuCaption and sdxRichEditCommandFloatingObjectBringInFrontOfTextDescription resource strings, respectively.

See Also