TX Text Control ActiveX

Spell Checking

Topic

While spell checking is active, TXTextControl raises an event whenever altered text must be checked. The members below switch spell checking on, count the misspelled words of a document, find their position and length and remove a misspelled word.

Properties

MemberDescription
TXTextControl.EnableSpellCheckingGets or sets a value indicating whether spell checking is active or not.
TXTextControl.MisspelledWordAtInputPosGets the number of the misspelled word at the current text input position.
TXTextControl.MisspelledWordLengthGets the length of the misspelled word with the specified number.
TXTextControl.MisspelledWordsGets the current number of misspelled words.
TXTextControl.MisspelledWordStartGets the zero-based position of the misspelled word with the specified number.

Methods

MemberDescription
TXTextControl.MisspelledWordDeleteRemoves the specified misspelled word from a TXTextControl document.

Events

MemberDescription
TXTextControl.SpellCheckTextOccurs, if the document's text has been altered and the spelling of the new text must be checked.