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.