C chshanghai Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-02 #2 你查找一下。 我记得我以前回答过此问题 memo1.loadfrom('.....'); memo1.lines.delete[N ] memo1.saveto('.....');
Z zcy Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-02 #3 用STRINGLIST也可以,如: aList : TStringList; aList:=TStringList.Create; try aList.loadfromfile(filename); alist.delete(index); alist.savetofile(filename); finally aList.Free; end;
用STRINGLIST也可以,如: aList : TStringList; aList:=TStringList.Create; try aList.loadfromfile(filename); alist.delete(index); alist.savetofile(filename); finally aList.Free; end;
S savenight Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-02 #4 用delphi6自带的控件TextDataSet