>>>Is there an efficient way to do a spell check of text in an RTF control?
>>>
>>>I see there are articles on doing it via Word, but I wonder if there is a better way.
>>>
>>>Alternatively, is there a third party control that works with VFP that is worth looking at?
>>>
>>>Cyril
>>
>>You can check Craig Boyd's library for spell check.
>>
>>
http://www.sweetpotatosoftware.com/SPSBlog/2005/07/31/SpellingCheckerAndVFP.aspx>
>Thanks, I'll take a look.
Since I've played briefly with Craig's class, a word of warning, because it's RTF. You'd have to pass the rtfbox.text property, and Craig's class is supposed to work with an editbox. You can copy the text into an invisible editbox, pass that as a parameter, then copy the text back - but then you'd lose all the formatting. To circumvent that, you'd have to keep a list of what was replaced and where, so when it gets back, you repeat the same replacements using rtfbox.find() and then stuff the replacement as rtf selection. Not too hard to do, IMO.