TreeView with not all nodes having an image??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'm wondering if it is possible in a TreeView to set a part of the nodes
with images and a art of the nodes without images. To the point: all nodes
from the first and second level must have an icon in front of it. All other
levels may not have an icon.

Can anyone help?

Thx in advance

Wim
 
That would be possible, but it doesn't look nice with the white space in
front of the label... since all items on that level will have no image, it
would be better to have no space there.

Wim
 
I'm fairly sure that if you set the ImageIndex to -1 you get no icon and
no space but I can't remember off hand. Just try it and see.

_
David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top