TdxTokenEditProperties.EditValueToTokens(TcxEditValue) Method
Converts the specified edit value to the list of token text strings.
Declaration
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