• <nav id="cwumo"><code id="cwumo"></code></nav>
  • <menu id="cwumo"><strong id="cwumo"></strong></menu>

    [DELPHI]字符串列表使用

    時間:2020-10-28 19:22:20 筆試經驗 我要投稿

    [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]字符串列表使用】相關文章:

    Delphi10-06

    有關PHP字符串比較函數strcmp()和strcasecmp()使用總結11-16

    PHP 字符串正則替換函數preg-replace使用說明介紹11-15

    俄語動物詞匯列表12-04

    俄語紡織詞匯列表11-27

    俄語閱讀詞匯列表11-26

    俄語電力詞匯列表11-26

    俄語期貨詞匯列表11-25

    俄語石油詞匯列表11-24

    粵語音節列表09-30

    日韩激情