PC Review


Reply
Thread Tools Rate Thread

Another Treeview question

 
 
Elmo Watson
Guest
Posts: n/a
 
      27th Dec 2007
I want to be able to define which images are used, when adding nodes
dynamically

However, whenever I add an imagelist with images as the imagelist for a
Treeview, it automatically picks an ImageIndex, and it affects the images in
every node.

I don't really understand this concept, since I started a while back, with
VB6

Can anyone help me to understand this and get around this part?



 
Reply With Quote
 
 
 
 
Jeff Gaines
Guest
Posts: n/a
 
      28th Dec 2007
On 27/12/2007 in message <(E-Mail Removed)> Elmo
Watson wrote:

>I want to be able to define which images are used, when adding nodes
>dynamically
>
>However, whenever I add an imagelist with images as the imagelist for a
>Treeview, it automatically picks an ImageIndex, and it affects the images
>in every node.


My understanding is if you specify an image list it will automatically be
used for all nodes (defaulting to ImageIndex 0). So if you specify an
image list you must specify an ImageIndex for each node when you
create/add it.

--
Jeff Gaines
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recreate a >>C# WinForms<< TreeView "state" -after- treeview rebuild ?? Any TreeView GODS out there ?? frostbb Microsoft C# .NET 6 18th Aug 2008 06:08 PM
TreeView question =?Utf-8?B?R3V5?= Microsoft ASP .NET 1 3rd Mar 2007 01:27 PM
Treeview question =?Utf-8?B?bXNjZXJ0aWZpZWQ=?= Microsoft Access Form Coding 0 16th Feb 2007 08:13 PM
TreeView Question Boni Microsoft VB .NET 5 30th Jun 2005 05:58 PM
Another treeview question Bart Schelkens Microsoft ASP .NET 0 11th Aug 2004 10:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:57 PM.