<< Click to display table of contents >> GetAddictSpellLanguage, GetAddictThesLanguage functions |
The functions convert a language of RichViewActions to languages used by Addict 3 components.
Unit RVAddictLocalize.
function GetAddictSpellLanguage(const s: String): TSpellLanguageType;
function GetAddictThesLanguage(const s: String): TThesaurusLanguageType;
Example:
RVAddictSpell31.UILanguage :=
GetAddictSpellLanguage(RVA_GetLanguageName);
RVThesaurus31.UILanguage :=
GetAddictThesLanguage(RVA_GetLanguageName);
It's not necessary to use these functions: TrvActionSpellingCheck and TrvActionThesaurus displays dialogs using the proper UI language.
Note: RVAddictLocalize unit is included in Addict3_RichView* packages. These packages are installed only if Addict 3/4 is already installed.