AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

listview and treeview

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java GUI Toolkits
View previous topic :: View next topic  
Author Message
moni
Guest





PostPosted: Thu Aug 24, 2006 11:49 pm    Post subject: listview and treeview Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java GUI Toolkits All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.