RAD Studio VCL Reference
TStrings.GetText Method

Allocates a text buffer and fills it with the value of the Text property.

function GetText: PChar; virtual;
virtual __fastcall const char * GetText();

Call GetText to obtain a dynamically allocated character buffer containing all of the strings in the list. Individual strings are separated by a carriage return and (on Windows) line feed. The caller is responsible for freeing the returned value using the StrDispose procedure. 


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