procedure show(s:string);
begin
showmessage(s);
end;
procedure TForm3.WebButton1Click(Sender: TObject);
begin
asm
// this is pure Javascript code
$impl.show("你好");
end;
end;
原文地址:https://www.cnblogs.com/xalion/p/9454899.html
时间: 2024-11-09 02:42:49