You are here: Symbol Reference > MtxVecInt Namespace > Classes > TVecInt Class > public > ValuesToStrings Method > TVecInt.ValuesToStrings Method (TStrings, integer, integer, integer, TFixedTextAlign, boolean)
MtxVec VCL
ContentsIndex
PreviousUpNext
TVecInt.ValuesToStrings Method (TStrings, integer, integer, integer, TFixedTextAlign, boolean)

Convert elements from Index to Index+Len-1 of the calling vector to strings.

Pascal
procedure ValuesToStrings(const dstList: TStrings; ListIndex: integer; Index: integer; Len: integer; const Align: TFixedTextAlign = ftaNone; const Headers: boolean = false); overload;

Store values in dstList starting at ListIndex. If dstList is not large enough, the method will use the add method of dstList object. Set Equidistant to True, if you are using fixed width font and need to have the text right aligned. 

Performance note: This routine will be exceedingly slow, if TRichEdit.Lines or TMemo.Lines are passed as a parameter for dstList. Use TStringList or StringList types and then call TMemo.Lines.AddStrings(yourList) for best results.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!