Page 1 of 1

Spelling in two RVEditors

Posted: Fri Aug 29, 2014 2:16 am
by Pashtix
Hi,

There is a form with two frames containing TRichViewEditor (v14.12.6). When the form is created some text is loaded into RVEditors and each frame starts live spelling. The only instance of TrvDxSpellChecker is created when the whole application starts.

The problem is that SpellChecker begins spell checking the second RVEditor while it doesn't finish to check spelling the first one. In case of misspelling in both editors there is a lot of errors (such as List Index out of Bounds, etc). Is there a way to struggle with it?

Besides that when the form is loading at first it appears with frame containing RVEditor and after some time all other components appear. So if I click on the Editor's field before the form is completely loaded my application totally hangs. How can I avoid this?

Thanks!

Posted: Sat Aug 30, 2014 11:45 am
by Sergey Tkachenko
You have two options

1) Using editors, specially designed to work together with other DevExpress controls: http://www.trichview.com/resources/devexpress/
They handle spell checking automatically.

2) Process some events:
http://www.trichview.com/forums/viewtopic.php?t=3198
ExpressSpell architecture assumes that live spelling is preformed only in the focused control.