[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TCustomStringGrid.LoadFromCSVStream

Loads the content for the grid from the delimited values in AStream.

Declaration

Source position: grids.pas line 1781

public procedure TCustomStringGrid.LoadFromCSVStream(

  AStream: TStream;

  ADelimiter: Char = ',';

  UseTitles: Boolean = True;

  FromLine: Integer = 0;

  SkipEmptyLines: Boolean = True

); virtual;

Arguments

AStream

  

Stream with the content loaded in the method.

ADelimiter

  

Delimiter between cell data in the stream; default is Comma (',').

UseTitles

  

Indicates if Column captions are loaded from values in the stream.

FromLine

  

Initial line number in the stream included in the grid content; default is 0.

SkipEmptyLines

  

Indicates if empty lines in the stream are ignored in the method.