JRSpellChecker

AutoCorrectionOn()
AutoCorrectionOff()

Function:

Turns on/off the AutoCorrect function.
While this function is active, all in the autocorrectionlist defined words are not longer marked as misspelled and will be directly replaced in the document with the correct spelled word.

The AutoCorrect function is working with
SpellCheckDocument
SpellCheckSelText
SpellCheckLastInput

For example, to activate the AutoCorrect function only while SpellAsYouType activate it, call SpellCheckLastInput then deactivate it.

AutoCorrectionOn
erg = JRSpell1.SpellCheckLastInput(TXTextControl1.hWnd, TX_Textcontroll)
AutoCorrectionOff

         

Syntax:

JRSpell1.AutoCorrectionOn

         

Return Value:


Nothing

Fires itself no event. An autocorrection calls the "ChangeWord" event.