PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • 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
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.
  • WINDEV in Table control columns.
  • Versions 22 and later
    WINDEV in Word Processing controls.
    New in version 22
    WINDEV in Word Processing controls.
    WINDEV in Word Processing controls.
Remark: This property is equivalent to the option "Check the spelling" found:
  • 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.
Versions 20 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 20
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 21 and later
Android This function is now available for Android applications.
New in version 21
Android This function is now available for Android applications.
Android This function is now available for Android applications.
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,
  • WINDEV column of a Table control,
  • Versions 22 and later
    WINDEV Word Processing control.
    New in version 22
    WINDEV Word Processing 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 control to be used:
  • edit control,
  • WINDEV column of a Table control,
  • Versions 22 and later
    WINDEV Word Processing control.
    New in version 22
    WINDEV Word Processing control.
    WINDEV Word Processing 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
WINDEVReports and QueriesWindowsUser code (UMC)

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

In Edit controls and columns of a Table control in a WINDEV application, the CheckSpell property uses:
ConfigureSpellCheck is used to:
  • Versions 24 and later
    choose the spelling checker used.
    New in version 24
    choose the spelling checker used.
    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.
Versions 22 and later
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.
New in version 22
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.
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 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