trichview.com Forum Index trichview.com
TRichView support forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Demo] Loading CSV as table

 
Post new topic   Reply to topic    trichview.com Forum Index -> Examples, Demos
View previous topic :: View next topic  
Author Message
Sergey Tkachenko
Site Admin


Joined: 27 Aug 2005
Posts: 6576

PostPosted: Tue Nov 29, 2005 9:21 pm    Post subject: [Demo] Loading CSV as table Reply with quote

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;
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    trichview.com Forum Index -> Examples, Demos All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group