System.Classes.TStrings.SetText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetText(Text: PChar); virtual;

C++

virtual void __fastcall SetText(System::WideChar * Text);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TStrings

Description

Sets the Text property.

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.

See Also