folder image in tree view

  • Thread starter Thread starter Pat
  • Start date Start date
P

Pat

I'm trying to put a folder image in a tree view (instead of the plus/minus
symbol) in smartphone.
When I add the tree nodes collection there is a dropdown to select an image.
But this dropdown is always disabled and I can't select anything.

Any ideas?
Thanks.
 
Yes, this confused me as well.

1) Drage from the Tool-Box an ImageList on to your Form.
2) in Properties of this ImageList (Right Mouse) use the button ADD
(Hinzufügen) add the desired Images.
3) after this go to the ImageList entry in the TreeView Property.
- this list will no longer be empty, but should have a List of the
ImageList's that you have created.
- if you have only created one : there will be only one entry.
- if you have create more than one, you can chose ONE of these.
Each ImageList can have more that one Image inside it, but can assige one
one ImageList to each Control.

The same logic applies to ContextMenu.

Hope this helps.

Mark Johnson, Berlin Germany
(e-mail address removed)
 
Back
Top