Page 1 of 1

How can I work with two dictionary and exchange them?

Posted: Fri Feb 24, 2012 2:11 pm
by alexandreq
Hello Sergey,

I am testing the power of dxSpellCheck (from DEV) and DBSrichViewEdit.

On my form I have two DBSrichViewEdits, the first one I am gonna write english words and the second the portuguese words.

I loaded two dictionary and I need to change it when I click on the DBSrichViewEdit.

So

If I click the first DBSRich I need to change the dictionary to english
If I click on the seconf DBSrich I need to change the dictionary to Portuguese

How can I do this? Is It possible to exchange them by code?

Thanks
Alex

Posted: Fri Feb 24, 2012 4:09 pm
by Sergey Tkachenko
I asked DevExpress developers, they said that probably you can use Enabled property of a dictionary to activate/deactivate it.
You can try doing it either in OnEnter of the editor, or in spellchecker.OnBeforeCheck.