Hi there,
I am creating RichTextBox controls dynamically in code. It appears that when I add a rich text box to the form via the designer, it is extended appropriately (has a spellchecker property). However, when I create a richTextBox in code, it does not have the SpellChecker property.
Can you tell me the syntax for getting this to work, so that when I create a richTextBox editor dynamically it can access an existing spellchecker component? Is there an alternate approach?
Thank you!
Hello,
You could try the following code:
SpellCheckerSettings s = new SpellCheckerSettings(true);this.ultraSpellChecker1.SetSpellCheckerSettings(this.richTextBox1, s);
Please feel free to let me know if I misunderstood you or if you have any other questions.
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.
I got it
I set spellcheck Mode = DialogOnValidating. It does spellcheck after user loose focus to the cell.
John
Boris,
I have a couple question in ultraSpellcheck. I hope you can help me out
1) How do I set spell check at user leave the cell. I don't want it check spelling as user types.
2) How do I set suggest word for mispelling word
Thanks