Why CheckAsYouTypeOptions.Active always False ?

General TRichView support forum. Please post your questions here
Post Reply
11111
Posts: 25
Joined: Sat Feb 07, 2015 12:02 pm

Why CheckAsYouTypeOptions.Active always False ?

Post 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 ?
Sergey Tkachenko
Site Admin
Posts: 17602
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Why CheckAsYouTypeOptions.Active always False ?

Post by Sergey Tkachenko »

We had to disable devexpress checkasyoutype mechanism to use our own one. But assignment to this property is respected
11111
Posts: 25
Joined: Sat Feb 07, 2015 12:02 pm

Re: Why CheckAsYouTypeOptions.Active always False ?

Post by 11111 »

So is there any way to know from spellchecker his checking active state ?
Sergey Tkachenko
Site Admin
Posts: 17602
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Why CheckAsYouTypeOptions.Active always False ?

Post 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.
Post Reply