Back to Devexpress

TdxCustomSpellChecker.OnCheckWord Event

vcl-dxspellchecker-dot-tdxcustomspellchecker-fe0dbea6.md

latest1.1 KB
Original Source

TdxCustomSpellChecker.OnCheckWord Event

Allows you to manually determine if a word is misspelled.

Declaration

delphi
property OnCheckWord: TdxSpellCheckerCheckWordEvent read; write;

Remarks

Fires every time the spell checker processes a word. The current word is passed as the AWord parameter. AValid specifies whether the current word is misspelled. Set AValid to True , to inform the spell checker that AWord is correct. Otherwise, set AValid to False.

Sender specifies the spell checker that performs the spell check.

AHandled specifies whether the default behavior is required. Set AHandled to True , to prevent the default check of the current word.

See Also

TdxCustomSpellChecker.Check

TdxCustomSpellChecker.IsValidWord

TdxCustomSpellChecker Class

TdxCustomSpellChecker Members

dxSpellChecker Unit