Page 1 of 1

Why CheckAsYouTypeOptions.Active always False ?

Posted: Sun Apr 16, 2017 5:13 pm
by 11111
if I set
RVdxSpellChecker1.CheckAsYouTypeOptions.Active := True;

then spell checking works, but when I try to get
state of RVdxSpellChecker1.CheckAsYouTypeOptions.Active it always false, why ?

Re: Why CheckAsYouTypeOptions.Active always False ?

Posted: Mon Apr 17, 2017 7:44 pm
by Sergey Tkachenko
We had to disable devexpress checkasyoutype mechanism to use our own one. But assignment to this property is respected

Re: Why CheckAsYouTypeOptions.Active always False ?

Posted: Mon Apr 17, 2017 11:42 pm
by 11111
So is there any way to know from spellchecker his checking active state ?

Re: Why CheckAsYouTypeOptions.Active always False ?

Posted: Tue Apr 18, 2017 3:43 pm
by Sergey Tkachenko
Not from DXSpeller, sorry.
It has a private variable FStoredCheckAsYouTypeOptions, it is used to restore CheckAsYouTypeOptions.Active when moving focus away from TcxTRichViewEdit, but it is not accessible from outside.
So you need to store this state in a separate variable, when you turn live spelling on/off.