[DELPHI]字符串列表使用

时间:2024-09-27 19:26:54 资料大全 我要投稿
  • 相关推荐

[DELPHI]字符串列表使用

字符串列表使用]

◇[DELPHI]在FORM或其他容器上画线

  var x,y:array [0..50] of integer;

  canvas.pen.color:=clred;

  canvas.pen.style:=psDash;

  form1.canvas.moveto(trunc(x[i]),trunc(y[i]));

  form1.canvas.lineto(trunc(x[j]),trunc(y[j]));

  ◇[DELPHI]字符串列表使用

  var tips:tstringlist;

  tips:=tstringlist.create;

  tips.loadfromfile(''filename.txt'');

  edit1.text:=tips[0];

  tips.add(''last line addition string'');

  tips.insert(1,''insert string at NO 2 line'');

  tips.savetofile(''newfile.txt'');

  tips.free;

 

【[DELPHI]字符串列表使用】相关文章:

延迟退休方案列表06-15

如何完成字符串的逆序09-20

编码实现字符串转整型的函数09-02

Delphi程序员笔试题目(选择题)07-08

Delphi程序员判断题笔试题目10-24

完整版前端工程师笔试问题列表09-18

香水使用的礼仪06-28

睡眠面膜的正确使用方法--睡眠面膜使用误区08-13

公司印章使用制度10-10

适合结婚使用的对联10-20