ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Control functions
  • Notes
  • Identifier of languages
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Configures the spelling checker for the edit controls and for the Table control columns in the whole application. You can specify the language for the spelling checker.
Example
// Enable the spell check for the entire application
ConfigureSpellCheck(spellcheckEnabled, True)
// Select the English dictionary
ConfigureSpellCheck(spellcheckNation, nationEnglish)
// Find out whether the spell check is enabled for the entire application
IF ConfigureSpellCheck(spellcheckEnabled) = True THEN
Info("The spelling checker is enabled")
END
Syntax

Configuring the spelling checker Hide the details

ConfigureSpellCheck(<Option> , <Value>)
<Option>: Integer constant
Option for configuring the spelling checker of OpenOffice:
spellcheckCheckerTypeAllows you to select the type of checker used.
If <Value> corresponds to:
  • spellcheckIntegratedChecker: the integrated spell checker will be used for all the edit controls of the application.
  • spellcheckOpenOfficeChecker: the OpenOffice spell checker will be used for all the edit controls of the application.
spellcheckEnabledIf <Value> corresponds to True, the spelling checker is enabled for all the edit controls of the application.
Caution: The "Check spelling" option must be checked in the editor.
If <Value> corresponds to False, the spelling checker is disabled for all the edit controls of the application.
spellcheckNationSpecifies the dictionary language that will be used. <Value> can correspond to one of the constants used to identify the languages (see Remarks). The spell check will not be proposed if the dictionary is not installed.
Remark: This constant is taken into account for the OpenOffice spelling checker only.
<Value>: Variant
Value of the configured option (see <Options>).

Finding out how the spelling checker was configured Hide the details

<Result> = ConfigureSpellCheck(<Option>)
<Result>: Variant
Value of the requested option.
<Option>: Integer
Option for configuring the spelling checker of OpenOffice:
spellcheckCheckerTypeIf <Result> corresponds to:
  • spellcheckIntegratedChecker: the integrated spell checker will be used for all the edit controls of the application.
  • spellcheckOpenOfficeChecker: the OpenOffice spell checker will be used for all the edit controls of the application.
spellcheckEnabledIf <Result> corresponds to True, the spelling checker of OpenOffice is enabled for all the edit controls of the application
If <Result> corresponds to False, the spelling checker of OpenOffice is disabled for all the edit controls of the application.
spellcheckNationSpecifies the dictionary language that will be used. <Result> corresponds to a language identifier (see the Notes).
Remarks

Notes

Identifier of languages

The identifiers of languages are as follows:
IdentifierConstantLanguage
1nationGerman
German
2nationAmerican
American
3nationEnglish
English
4nationAustralian
Australian
5nationFrench
French
6nationDanish
Danish
7nationSpanish
Spanish
8nationFinnish
Finnish
9nationFrenchCanadian
French Canadian
10nationIcelandic
Icelandic
11nationItalian
Italian
12nationDutch
Dutch
13nationNorwegian
Norwegian
14nationPortuguese
Portuguese
15nationBrazilianPortuguese
Brazilian Portuguese
16nationRussian
Russian
17nationSwedish
Swedish
18nationCzech
Czech
19nationArabic
Arabic
20nationBosniac
Bosnian
21nationBulgarian
Bulgarian
22nationTraditionalChinese
Chinese
23nationChinese
Simplified Chinese
24nationKorean
Korean
25nationCroatian
Croatian
26nationEstonian
Estonian
27nationGreek
Greek
28nationHebrew
Hebrew
29nationHungarian
Hungarian
30nationIrish
Irish
31nationJapanese
Japanese
32nationLatvian
Latvian
33nationLithuanian
Lithuanian
34nationPolish
Polish
35nationRomanian
Romanian
36nationSerbian
Serbian
37nationSlovak
Slovakian
38nationSlovenian
Slovenian
39nationThai
Thai
40nationTurkish
Turkish
41nationVietnamese
Vietnamese
Custom languages
201
Language 1
202
Language 2
203
Language 3
204
Language 4
205
Language 5
206
Language 6
207
Language 7
208
Language 8
209
Language 9
210
Language 10
211
Language 11
212
Language 12
Component: wd290obj.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help