It is a class module to apply a spell checker to a TextBox or RichTextBox, it does it through the SpellCheckerFactorys interface, it is available from Windows 8 and later.
Although with some controls like the InkEdit and the RichTextbox (Richedit50W), with just a couple of lines of code you can already apply the spell checker, but in the case of the TextBox (Edit) you have to do a complete job like the one shown it was made in the class module to work the same way. It is worth clarifying that in the case of the RichTextBox when it is formatted, the behavior may not be the desired one, since the red error lines may be slightly out of phase if the font changes.
As you can see in the image, in the contextual menu it applies the correction options and other functionalities such as: skip, delete words, add to the dictionary and autocorrect, the latter consists of automatically changing the word for another as soon as possible. is detected
It doesn't require any dependencies, just Windows 8 and later.
References:
https://www.vbforums.com/showthread....ly-a-few-lines
https://www.vbforums.com/showthread....ows-SpellCheck
![Name: spellcheck.jpg
Views: 58
Size: 68.5 KB]()
DOWNLOAD: SpellCheck.zip
Although with some controls like the InkEdit and the RichTextbox (Richedit50W), with just a couple of lines of code you can already apply the spell checker, but in the case of the TextBox (Edit) you have to do a complete job like the one shown it was made in the class module to work the same way. It is worth clarifying that in the case of the RichTextBox when it is formatted, the behavior may not be the desired one, since the red error lines may be slightly out of phase if the font changes.
As you can see in the image, in the contextual menu it applies the correction options and other functionalities such as: skip, delete words, add to the dictionary and autocorrect, the latter consists of automatically changing the word for another as soon as possible. is detected
It doesn't require any dependencies, just Windows 8 and later.
References:
https://www.vbforums.com/showthread....ly-a-few-lines
https://www.vbforums.com/showthread....ows-SpellCheck
DOWNLOAD: SpellCheck.zip