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

TdxRichEditControlToggleShowHorizontalRuler Class

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

Declaration

TdxRichEditControlToggleShowHorizontalRuler = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlToggleShowHorizontalRuler action object either displays or hides the horizontal ruler in the Rich Edit control.

UI elements linked to a TdxRichEditControlToggleShowHorizontalRuler action object are enabled only if the Draft or Print Layout document view is active.

To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlToggleShowHorizontalRuler action object, use the sdxRichEditCommandToggleShowHorizontalRulerMenuCaption and sdxRichEditCommandToggleShowHorizontalRulerDescription resource strings, respectively.

See Also