Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetCustomFormula.SourceText Property

Specifies the source text string of the parsed formula expression.

#Declaration

Delphi
property SourceText: string read; write;

#Property Value

Type
string

#Remarks

This property stores the text string that is parsed to tokens by the formula controller. If a parsing error occurs (due to occurrence of delimiter characters within the string that are not specified in the FormatSettings property set, for instance), the ErrorCode returns a zero-based index of the first unrecognized character within the string.

SourceText returns the same text as the AsText property, except for the equals sign.

Note

Normally, the SourceText property supports the internal infrastructure and is not intended to be used directly from your code. Changing this property value does not result in re-parsing of the formula expression.

See Also