I am using "Built-in TX Text Control" and we have a spellcheck implemented (from WinterTree Software), that adds red wavy lines to every supposed error. Sadly, the spellcheck itself doesn't come with a good function to delete the red wavy lines.
Problem is, we want to implement a manual function, that removes all the red wavy lines before saving, because otherwise those red wavy lines are saved as .rtf code.
I tried this:
rte_1.SetTextStyle(rte_1.GetTextStyle(Bold!),FALSE,rte_1.GetTextStyle(Subscript!),rte_1.GetTextStyle(Superscript!),rte_1.GetTextStyle(Italic!),rte_1.GetTextStyle(Strikeout!))
It doesn't work. It's not treated as an underline.
Is there any other way to specifically target the red line to be deleted?
Long story short: your best option is to get the "Sentry" product, which DOES allow you to do what you want. If that's going to cost to much, there's quit some free spell checkers if you google on it, but you'd have to consider the costs of re-coding everything against the price of the Sentry product (of which I'm not aware to be honest).
That's all I can do my friend.
kind regards