Delphi LinkLabel1 用法


本文整理自网络,侵删。

 
uses ShellAPI;

procedure TForm1.FormCreate(Sender: TObject);
begin
  LinkLabel1.Caption := '<a href="http://www.1231818.com/">1231818</a>';
end;

procedure TForm1.LinkLabel1LinkClick(Sender: TObject; Link: string;
  LinkType: TSysLinkType);
begin
  ShellExecute(0, nil, PChar(Link), nil, nil, 1);
end;

相关阅读 >>

Delphi xe中windows7新的taskbar功能的使用

Delphi 如何在richedit控件里加入链接

Delphi中如何捕获mediaplayer播放的视频中的每一帧 ?

Delphi 安卓原生的toast温柔提示

Delphi datasnap的线程池

Delphi monthoftheyear、weekoftheyear、weekofthemonth、dayoftheyear … 相对时间

Delphi木马生成技术

Delphi datasnap 的http 调用返回json

Delphi webbrowser获取页面全部链接

Delphi opendialog1 添加文件打开多选模式

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...

    暂无评论...