Sergey Tkachenko Site Admin
Joined: 27 Aug 2005 Posts: 6576
|
Posted: Tue Nov 29, 2005 9:21 pm Post subject: [Demo] Loading CSV as table |
|
|
This unit contains function for loading CSV files (files with comma or
semicolon delimited values) or files with tab delimited values.
(2007-Sep-23: the link is removed, because this unit is included in RichViewActions, http://www.trichview.com/resources/actions/ )
Using for inserting table:
| Code: | var table: TRVTableItemInfo;
begin
table := LoadCSV(FileName, RichViewEdit1, ';', False, 0, 0);
if table<>nil then begin
// here you can set table properties,
// such as borders
RichViewEdit1.InsertItem('', table);
end;
end; |
|
|