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

TdxTokenEditProperties.EditValueToTokens(TcxEditValue) Method

Converts the specified edit value to the list of token text strings.

#Declaration

Delphi
function EditValueToTokens(const AEditValue: TcxEditValue): TStrings; overload;

#Parameters

Name Type
AEditValue TcxEditValue

#Returns

Type
TStrings

#Remarks

Call this function to split a single TcxEditValue value passed as the AEditValue parameter, into multiple text strings delimited by a character specified by the EditValueDelimiter property. The EditValueToTokens function returns the split strings as a TStrings object. The returned value also stores references to tokens (as the TStrings.Objects values corresponding to the TStrings.Strings values) in the Tokens collection whose Text property values match the returned strings.

The EditValueToToken function is called by the ValidateDisplayValue procedure to interpret the passed TcxEditValue value as a set of token ID strings.

See Also