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

TdxRichEditControlCreateField Class

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

Declaration

TdxRichEditControlCreateField = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlCreateField action object places a couple of curly brackets at the caret position, allowing an end-user to type in a field code and provide its properties, including identifiers and optional switches. If there is a text selection, it is included between the brackets.

UI elements linked to a TdxRichEditControlCreateField action object are enabled only if the Rich Edit control’s ReadOnly property is set to False.

To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlCreateField action object, use the sdxRichEditCommandCreateFieldMenuCaption and sdxRichEditCommandCreateFieldDescription resource strings, respectively.

See Also