SourceFiles

Top  Previous  Next

TTextFileN21Transformer > properties > SourceFiles

 

 property SourceFiles : TStrings

           read m_pSourceFiles write m_pSourceFiles;

  

With the property SourceFiles, a list of source files can be prepared. By the methods of TStrings files can be added or deleted. Directories can be specified as absolute paths or as sub-directories to a directory, which was set with SetSourceRoot before.

 

Example:

 

SetSourceRoot("C:\\program_files\\TextTransformer"); 
SourceFiles->Items->Add("source.log"); 
SourceFiles->Items->Add("Sources\\source.txt"); 
SourceFiles->Items->Add("C:\\source.txt"); 

 

results in the following source files:

 

C:\program_files\TextTransformer\source.log 
C:\program_files\TextTransformer\Sources\source.txt 
C:\source.txt 

 

 

 



This page belongs to the TetraComponents Documentation

Home  Content  German