ImageEn, unit iexRichEdit

TIERichEdit.SpellChecking

TIERichEdit.SpellChecking


Declaration

property SpellChecking: Boolean;


Description

Enables spell checking of the content using the system language.
Erroneous words will be underlined with a red dashed line. Users can right-click dashed lines for further options.

Rich Edit Identifier: EM_SETLANGOPTIONS

Default: False

Note:
Calling this property will override LanguageOptions, so it should be enabled before LanguageOptions
The Spell checking will pop-up menu will clash with a pop-up menu if you specify one. PopupMenuAuto will be automatically disabled


Example

procedure TMainForm.btnSpellCheckingClick(Sender: TObject);
begin
  // Show squiggly lines under misspelled words?
  IERichEdit1.SpellChecking := btnSpellChecking.Down;
end;