列表视图中的链接标签 (Delphi)
我怎样才能有一个列表视图,它的项目包含链接(引导我们到html页面)?
谢谢
how can i have a listview that its items contain links(direct us to html pages) ?
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用支持此现成的列表视图或网格(tms 软件例如具有支持“迷你”html 的组件)或使用标准 TListView 可以执行以下操作:
ListView 中的链接标题的颜色取决于您的选择。如果您要遵守长期坚持的互联网标准,您可以将它们设为蓝色并加下划线。
Either use a listview or grid which supports this off-the-shelf (tms software for example has components that support a "mini" html) or with a standard TListView do something like:
It's up to you how you want your color the link captions in your ListView. If you were to adhere to the long-held Internet standards you would make them blue and underlined.
嗯,是的,使用 Delphi 调用默认浏览器很容易。下面是一个基本的验证示例(因此您的列表中可以包含非 URL 值):
Um, yes, it is easy to go ahead and call the default browser with Delphi. Here's a basic example with validation (so you can have non-URL values in your list):