SyntaxErrorIndex Property (Profile Editor Control)
Windows - Visual C++
Read Only
Description
The SyntaxErrorIndex property
returns the index into the editing window at which a syntax error was detected.
Syntax
long value = GetSyntaxErrorIndex();
The SyntaxErrorIndex syntax has these parts:
Part |
Description |
|
value |
A long integer containing the index. |
Remarks
The SyntaxErrorIndex property is
only valid after receiving either DDICTL_E_R_PRFSYNTAXERR, indicating
a syntax error, or DDICTL_E_R_INVALCHARINPROF, indicating an invalid
character. These errors can be thrown while retrieving the contents
of the Criteria property
or returned from the InsertExpression method.
See Also: SetCursorAtIndex
Back to: Profile Editor Properties