PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Notes
  • Identifier of languages
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
ConfigureSpellCheck (Function)
In French: ParamètreOrthographe
Configures the spelling checker of OpenOffice for the edit controls and for the table columns found in the application. You have the ability to specify the language in which the spell check must be performed.
Example
// Enables the spell check for the entire application
ConfigureSpellCheck(spellcheckEnabled, True)
// Selects 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:
spellcheckEnabledIf <Value> corresponds to True, the spelling checker of OpenOffice is enabled for all the edit controls of the application.
Caution: The "Check the spelling" box must have been checked in the editor.
If <Value> 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. <Value> can correspond to one of the constants used to identify the languages (see the Notes). The spell check will not be proposed if the dictionary is not installed.
<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:
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 the 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
14nationPortuguesenationPortuguese
Portuguese
15nationBrazilianPortuguesenationBrazilianPortuguese
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
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment