Treeview issue

I have an application with a tree view and I want to drag an object with the name "Married" onto the app's desktop. However there is also an object in the tree view called "Married Males" which because of it's name looks exactly the same as the "Married" image up until it says "Males". The attached screenshot shows you the objects, I know that the icons are different but they are part of a collection because the objects can be in many different states.

The problem is that the "Married Males" object gets selected and I want the "Married" object to get selected instead. What's the best solution to this problem?

Thanks.

Comments

Sign In or Register to comment.