RAD Studio VCL Reference
TStrings.SetText Method

Sets the Text property.

procedure SetText(Text: PChar); virtual;
virtual __fastcall SetText(const char * Text);

Call SetText to replace the list with the strings specified by the Text parameter. SetText adds strings one at a time to the list, using the carriage returns or linefeed characters in Text 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!