How can I work with two dictionary and exchange them?

General TRichView support forum. Please post your questions here
Post Reply
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

How can I work with two dictionary and exchange them?

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

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