Skip to main content
Version: Next

OBJECT SET AUTO SPELLCHECK

OBJECT SET AUTO SPELLCHECK ( {* ;} object ; autoSpellcheck )

ParameterTypeDescription
*OperatorIf specified, object is an object name (string)If omitted, object is a variable or field
objectanyObject Name (if * is specified) or Variable or field (if * is omitted)
autoSpellcheckBooleanTrue = automatic spell-checking,False= no automatic spell-checking

This command is not thread-safe, it cannot be used in preemptive code.

Description

The OBJECT SET AUTO SPELLCHECK command sets or dynamically modifies the status of the Auto spellcheck option for the object(s) designated by the object and * parameters for the current process. This option enables or disables the automatic spellcheck when data is entered for the object (Text type objects only).

If you pass the optional * parameter, this indicates that the object parameter is an object name (a string). If you do not pass this parameter, this indicates that the object is a variable or a field. In this case, you pass a reference instead of a name.

Pass True in autoSpellcheck to enable this function for the object, and False to disable it.

See also

OBJECT Get auto spellcheck