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 ?
Why CheckAsYouTypeOptions.Active always False ?
-
- Site Admin
- Posts: 17602
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Why CheckAsYouTypeOptions.Active always False ?
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 ?
So is there any way to know from spellchecker his checking active state ?
-
- Site Admin
- Posts: 17602
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Why CheckAsYouTypeOptions.Active always False ?
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.
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.