 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
moni Guest
|
Posted: Thu Aug 24, 2006 11:49 pm Post subject: listview and treeview |
|
|
Hi,
I wanted to know if there was any way by which I could make a treenode
control an item on my listview control. I have tried doing that..but
the listview control does not allow me to add a treenode to it.
This is allowed:
item1 = new ListViewItem(p1.DisplayName);
This is giving error quite obviously,
item1 = new ListViewItem(t1.Nodes.AddRange(new
System.Windows.Forms.TreeNode[]
{new System.Windows.Forms.TreeNode(p1.DisplayName,
createTreeNodechannels(channelPre,p1.DisplayName))
}));
where t1 is a treenode control.
Any help would be good.
Thanks. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|