Hi Rafael,
Thank you for providing the source code.
Please note that you should call the SpellCheckTextControllersManager.Default.RegisterClass method before call the InitializeComponent method. Here is some sample code:
Hope this helps.[C#]... public Form1() { // This register the Custom controls to be able to be checked by Spell Checker RegisterSpellCheckTypes(); InitializeComponent(); Shown += new EventHandler(Form1_Shown); } ...
Thanks,
Elliot
Elliot,
Thanks for the quick reply, you are right, by placing that code before the InitializeComponent, it worked fine. However the red wave line is still behaving in an strange way. Let me give you an example.
1. Launch the Dev Express Demo Center.
2. Click on XtraSpellChecker.
3. Click on Launch Demo.
4. Click on the "Multiple Editors (updated)" demo.
5. Click on the "CheckAsYouType Mode" check box.
6. Click on the "About" Memo Edit. (Notice that you get a red wave on the psyhology, Univercity and Internationa words.
7. Hit F7 to launch the Spell Checker screen.
8. Hit Ignore for every word that shows up (should be 5 times).
9. Click Ok on the spelling complete dialog (Notice the focus remains on the About MemoEdit and the last word is highlighted).
10. Type something bogus after the end of the phrase, ie: "teeestiing theee speeel chekerr" (Notice you didn't get the red wave. I would expect these new words to have it).
11. Click on the Address field, and then back to the About, and then you see the red wave on the new words, as well as on the old ones.
I hope this helps,
Rafael
Hi Rafael,
I believe that I understand your issue completely. However, I'm unable to reproduce the problem you described. I've created and attached a screencast, illustrating my actions. Perhaps, I've missed something. If so, please let me know. Please note that I've used the 9.3.4 version of the XtraSpellChecker control.
Thanks,
Elliot
Elliot, thanks for the screencast. On your example you used the mouse to click on the "Check Spelling", as opposed to use the "F7" key, like I described. It does make a difference, because by clicking on the actual button, you set the current focused control to the button, and then when you click on the "About" memo field again, it will recheck the control, and therefore everything works well.
If you hit F7, notice the "About" memo edit still has the current focus, when the spelling is completed.
Please let me know if you are able to recreate it.
Thanks,
Rafael
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.
Facebook
Twitter
Google+