Interface TextControl::setSpellCheckLanguage
Description
In BBj 7.00 and higher, this specifies the language that should be used to spell check a text control.
Syntax
|
Return Value |
Method |
|---|---|
|
void |
setSpellCheckLanguage(string language) |
Parameters
|
Variable |
Description |
|
|---|---|---|
|
|
The language code is in the format of a Java Locale. For more information, refer to Understanding Locale in the Java Platform. |
|
|
Language Codes |
Comments |
|
|
en, en_US |
American English; also the default language if a specified string cannot be reconciled to one of the other supported language codes. |
|
|
en_AU, en_GB, en_IE, en_IN, en_NZ, en_UK, en_ZA |
British English |
|
|
en_CA |
Canadian English |
|
|
es |
Spanish |
|
|
fr |
French |
|
|
fr_CA |
Canadian French |
|
|
it |
Italian |
|
|
nl |
Dutch |
|
|
sv |
Swedish |
|
|
de |
German (pre-reform) |
|
|
de_AT_NEUE, de_CH_NEUE, de_DE_NEUE |
Return Value
None.
Remarks
If a control is set to spell checked without explicitly specifying a language, the language code from STBL("!LOCALE") is used as the default.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.