topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday May 5, 2024, 6:40 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: [1] 2 3 4 5 6 ... 10next
1
Delphi and C++ Builder / Re: Another Question: State/Selection Images in TreeView
« Last post by marylee on January 30, 2009, 05:52 AM »
Ok, now I have the solution!
In the Add Method of the TreeNodes you cannot specify only the index of the image of the node, but also the image of the selectedNode!
tn.Nodes.Add("name", "Node Text", 1, 1);
 :)
2
Delphi and C++ Builder / Re: Another Question: State/Selection Images in TreeView
« Last post by marylee on January 27, 2009, 06:01 AM »
Hello,

I'm using treeView1.ImageList not treeView1.StateImageList. However the images change..
3
Delphi and C++ Builder / Re: Another Question: State/Selection Images in TreeView
« Last post by marylee on January 27, 2009, 03:25 AM »
Because I have two different kinds of images, depending on the item itself.
And I combine the image directly with the new node when creating the tree.
The image is just red and green, and is symbolizising the "status" of the item.
And this has nothing to do with the automatical status "selected/unselected"....
4
Delphi and C++ Builder / Re: Another Question: State/Selection Images in TreeView
« Last post by marylee on January 27, 2009, 03:12 AM »
Hello you!
I have exactly the same problem, but cannot find nowhere a solution!
Could anybody help?
Or has anybody an idea how to solve it?
Thanks a lot,
marylee
Pages: [1] 2 3 4 5 6 ... 10next