ExpressionEdit.DisplayError
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
ExpressionEdit.DisplayError
Syntax
ExpressionEdit.DisplayError( options = 0)
Purpose
Performs error checking the ExpressionEdit.ErrorCheck and ExpressionEdit.AllowEmpty properties and the ExpressionEdit.SetValidEvaluationTypes and ExpressionEdit.GetValidEvaluationTypes methods specify. The ExpressionEdit control displays any errors in a different font and displays the error message in a tooltip.
Remarks
Use this method to force the ExpressionEdit control to check for errors as it does when you select Check for Errors from the ExpressionEdit control context menu.
When you call this method, the ExpressionEdit control might modify the text to automatically prefix variables that do not have a full path specified.
Parameters
options As Long
[In] Specifies a bitwise-OR combination of the DisplayErrorOptions constants.
This parameter has a default value of 0 .
See Also
EvaluationTypes.AllowedArrayRepresentations
EvaluationTypes.AllowedRepresentations
ExpressionEdit.CheckExpression
ExpressionEdit.GetValidEvaluationTypes