TdxRichEditControlTextUpperCase Class
An action object that corresponds to the TextUpperCase command provided by the Rich Edit control.
Declaration
TdxRichEditControlTextUpperCase = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlTextUpperCase action object converts all lowercase characters within the current document selection(s) or the active word to uppercase characters.
UI elements linked to a TdxRichEditControlTextUpperCase action object are Enabled only if the following conditions are met:
The current document is not opened in read-only mode (i.e., the Rich Edit control’s ReadOnly property is set to False);
The text font customization functionality is enabled (i.e., the Rich Edit control’s Options.DocumentCapabilities.CharacterFormatting property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlTextUpperCase action object, use the sdxRichEditCommandTextUpperCaseMenuCaption and sdxRichEditCommandTextUpperCaseDescription resource strings, respectively.