Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1460

TextBox SpellCheck

$
0
0
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
Attached Images
 
Attached Files

Viewing all articles
Browse latest Browse all 1460

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>