ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Spelling checker used in edit controls and in the columns of a Table control
  • Spelling checker used in the Word Processing controls
  • Spelling checker used
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The CheckSpell property is used to enable or disable the automatic spelling checker.
Words not found in the dictionary are automatically underlined in red:
  • in edit controls.
  • WINDEV in Table control columns.
  • WINDEV in Word Processing controls.
Remark: This property is identical to the "Check spelling" option present:
  • in the "Details" tab of the description window of edit controls,
  • WINDEV in the "Details" tab of the description window of the Table control columns.
Example
// Active la vérification orthographique dans un champ de saisie
SAI_Texte.VérifieOrthographe = True
Syntax

Determining if the spelling checker is enabled Hide the details

<Result> = <Control used>.CheckSpell
<Result>: Boolean
  • True if the spell check is enabled,
  • False otherwise.
<Control used>: Control name
Name of the field to be manipulated:
  • Edit control,
  • WINDEV column of a Table control,
  • WINDEV Word Processing control.

Enabling or disabling the spell check Hide the details

<Control used>.CheckSpell = <Enable/Disable>
<Control used>: Control name
Name of the field to be manipulated:
  • Edit control,
  • WINDEV column of a Table control,
  • WINDEV Word Processing control.
<Enable/Disable>: Boolean
  • True if the spell check must be enabled,
  • False otherwise.
iPhone/iPadIOS Widget Please note: whether or not spelling correction is activated is not directly applied.. Indeed, the control must lose focus and regain it (in order for the system to adapt to the control keyboard).
Remarks
WINDEVReports and QueriesWindowsUser code (UMC)

Spelling checker used in edit controls and in the columns of a Table control

In input fields and columns of a Table control in a WINDEV application, the property CheckSpell property uses:
The ConfigureSpellCheck function allows you to:
  • choose the spelling checker used.
  • enable the spelling checker for all the edit controls of the application.
  • configure the language used (if the OpenOffice spelling checker is used).
For the unrecognized words, the default context menu of WINDEV proposes the following options:
  • Replacing the word by a valid word (the 8 first suggestions of OpenOffice or the integrated checker are proposed).
  • Add the word to the dictionary.
WINDEVReports and QueriesWindowsUser code (UMC)

Spelling checker used in the Word Processing controls

In Word Processing controls, the CheckSpell property uses Hunspell dictionaries to check spelling.
By default, if your project contains a Word Processing control:
  • the French and English dictionaries are automatically copied (as well as their respective license) into the executable directory (configurable option in the project description window, "Options" tab).
  • the French and English dictionaries are loaded by default.
To use other dictionaries, they must be associated with a language and they must be loaded in memory by DictionaryLoad.
AndroidiPhone/iPadIOS Widget

Spelling checker used

The CheckSpell property uses the system spelling checker.
For the unrecognized words, the context menu proposes the following options:
  • Replacing the word by a valid word.
  • Add the word to the dictionary.
Note: The system's spelling checker must be activated.
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help