ExpressionEdit.ErrorCheck
- Updated2024-10-09
- 1 minute(s) read
ExpressionEdit.ErrorCheck
Syntax
ExpressionEdit.ErrorCheck
Data Type
Use the following constants with this data type:
- ErrorCheck_None –(Value: 0) No error checking.
- ErrorCheck_Syntax –(Value: 1) Checks only for syntax errors.
- ErrorCheck_SyntaxAndEvaluation –(Value: 2) Checks for syntax and evaluation errors.
Purpose
Specifies whether the control performs error checking on the expression. When the value of this property is a value other than ErrorCheck_None , the expression is checked for errors when the ExpressionEdit control loses focus, when you select Check for Errors from the context menu, or when the ExpressionEdit.DisplayError method is called.
Remarks
When an error is found, the error is displayed in a different font color or style. The error message is displayed in a tooltip.
See Also
EvaluationTypes.AllowedArrayRepresentations
EvaluationTypes.AllowedRepresentations
ExpressionEdit.CheckExpression