ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Spelling checker used
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
The CheckSpell property is used to enable or disable the automatic spelling checker.
A red line automatically appears under words that are not found in the dictionary:
  • in edit controls.
Remark: This property is equivalent to the option "Check the spelling" found:
  • in the "Details" tab of the description window of edit controls,
Example
// Enable the spell check in an edit control
EDT_Text.CheckSpell = 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 control to be used:
  • edit control,

Enabling or disabling the spell check Hide the details

<Control used>.CheckSpell = <Enable/Disable>
<Control used>: Control name
Name of the control to be used:
  • edit control,
<Enable/Disable>: Boolean
  • True if the spell check must be enabled,
  • False otherwise.
iPhone/iPadIOS Widget Caution: the activation (or not) of spell check is not applied directly. Indeed, the control must lose focus and regain it (in order for the system to adapt to the control keyboard).
Remarks
AndroidiPhone/iPadIOS Widget

Spelling checker used

The CheckSpell property uses the system spelling checker.
For the unrecognized words, the popup menu proposes the following options:
  • Replacing the word by a valid word.
  • Add the word to the dictionary.
Remark: The system spelling checker must be enabled.
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