Skip to main content
Visual Components are implemented in FRE for Windows.
TextValidatorCommandEnum enumeration constants are used to denote actions for the misspelt words.
typedef enum {
 TVC_None,
 TVC_Ignore,
 TVC_IgnoreAll,
 TVC_Replace,
 TVC_ReplaceAll,
 TVC_Add
} TextValidatorCommandEnum;

Elements

NameDescription
TVC\_NoneNo action. In this case, the error is displayed in Text Validator and the user of your application can check it.
TVC\_IgnoreLeaves the word unchanged.
TVC\_IgnoreAllLeaves all such words in the text unchanged.
TVC\_ReplaceReplaces the current word with the selected suggestion.
TVC\_ReplaceAllReplaces all such words in the text with the selected suggestion.
TVC\_AddAdds the word to dictionary.

Used in

ITextValidatorEvents::OnValidationEvent