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.Validate Method

In This Article

Checks if the parsed formula expression is correct.

#Declaration

Delphi
procedure Validate;

#Remarks

This procedure supports the internal infrastructure and is not intended to be used directly from your code.

The formula controller automatically calls the Validate procedure when the source text parsing is complete. Calling this procedure raises the EdxSpreadSheetFormulaIsTooLongError exception if at least one of the following conditions is met:

  • The source text string is longer than 8192 characters;

  • Every function within the parsed formula expression accepts more than 254 parameters;

  • The parsed formula expression has more than 2048 cell and/or cell range references;

  • The maximum nesting level of the token hierarchy exceeds 64.

See Also