RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStrings.SetTextStr Method

Sets the Text property.

Pascal
procedure SetTextStr(const Value: string); virtual;
C++
virtual __fastcall SetTextStr(const AnsiString Value);

GetTextStr is the protected write implementation of the Text property. It replaces the list with the strings specified by the Value parameter. SetTextStr adds strings one at a time to the list, using the carriage returns or linefeed characters in Value as delimiters indicating when to add a new string. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!