delphi 请教TXT读写

日期:2009-11-12 13:20:36 人气:1

delphi 请教TXT读写

文本操作,利用tstringlist.loadfromfile ex: xx1 :tstringlist; xx2 :tstringlist; xx3 :tstringlist; 声明后再创建 xx1 := tstringlist.create; xx1.loadfromfile('c:\1.txt')完整路径,可以用opendialog控件打开,然后opendialog.filename就是完整路径了。 combobox1.items := xx1;忘了这个能不能
    A+
热门评论