Hi,
I'm using ASpell component for spell checking. All works fine, but I want to change dictionary "on the fly" — without changing UI language. I'll try to set RVASpell1.DictIndex := 0, 1, 2 (for example), but it's still use dictionary linked to UI language. Maybe I need to call some method for update/refresh? Can you help me?
How to change spell check dictionary "on-the-fly" without changing UI language?
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: How to change spell check dictionary "on-the-fly" without changing UI language?
UI language does not affect spelling.
You can see the demos in ThirdParty\ASpell\Demos\
They change spelling language with this code:
You can see the demos in ThirdParty\ASpell\Demos\
They change spelling language with this code:
Code: Select all
RichViewEdit1.ClearLiveSpellingResults;
RVASpell1.DictIndex := ComboBox1.ItemIndex;
RichViewEdit1.StartLiveSpelling;