超链接作为TreeCtrl项 [英] Hyperlinks as TreeCtrl items

查看:88
本文介绍了超链接作为TreeCtrl项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要创建一个TreeCtrl,其中的项目应该是超链接,itemtext和超链接

例如:ROOT
|
| Child1 (根项目) SubChild1
| Child2 (根项目) SubChild2


在上面的示例中,"Child1"和"Child2"应为超链接,(根项目)"应为静态文本项,而"SubChild1"应再次为超链接.

我该怎么办....?

谢谢,
Jony

Hi,

I need to create a TreeCtrl, where the items should be a hyperlink, itemtext, and hyperlink

Ex: ROOT
|
|Child1 (Root item) SubChild1
|Child2 (Root item) SubChild2


In the above example, "Child1" and "Child2" should be hyperlinks, and "(Root item)" should be static text item, and "SubChild1" again a hyperlink.

How can I do this ....?

Thanks,
Jony

推荐答案

查找"
您可以在
此处找到一个/list/treelistview.aspx"target =" _ blank"title =" New Window> ^ ]-不确定是否符合您的需求.
Look for "TreeListView[^]" implementations, there are quite some different ones with different advantages and drawbacks, but usually they allow multiple columns for items, and hyperlink cells - or at least individually formatted cells (so you can simulate the hyperlink).

One you can find here[^] - not sure if it fits your needs.


这篇关于超链接作为TreeCtrl项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆