本文整理自网络,侵删。
procedure TForm1.Button1Click(Sender: TObject);var i: Integer;begin Label1.Caption := ''; for i := 1 to Length(Edit1.Text) do begin try Label1.Caption := Label1.Caption + SysUtils.IntToHex(Byte(Edit1.Text[i]),2) + ' '; except Beep; end; end;end;
相关阅读 >>
Delphi xe10 手机端错误提示:detected problems with api compatibility (visit g.co/dev/appcompat for more info
Delphi unigui中如何监听session的开始与结束
更多相关阅读请进入《Delphi》频道 >>