Skip to main content

TdxSpreadSheetCustomFormula.ErrorIndex Property

Returns the index of the first unrecognized character in the formula expression’s source text.

Declaration

property ErrorIndex: Integer read;

Property Value

Type
Integer

Remarks

A text string entered via an in-place cell editor or programmatically, is parsed by the formula controller engine. If the source string is successfully parsed to tokens, the ErrorIndex property returns 0. Otherwise, the property returns a zero-based index of the first unrecognized character within the string.

Note

Normally, the ErrorIndex property supports the internal infrastructure and is not intended to be used directly from your code.

See Also