本文整理自网络,侵删。
procedure TForm1.Button1Click(Sender: TObject);begin Label1.Caption := inttostr(strtoint(Label1.Caption) + 1);end;
procedure TForm1.Button2Click(Sender: TObject);begin Label1.Caption := inttostr(strtoint(Label1.Caption) - 1);end;
相关阅读 >>
Delphi 采用 tidhttp 访问 https 的网站,采用 tidtcpclient 访问 https 的网站
Delphi tstringdynarray 使用,分割字符串
更多相关阅读请进入《Delphi》频道 >>