Hi,
I have a scenario where I need to verify an image before a tree node.
Here is the scenario..
There is a Tree object which several Tree Nodes and each & every node is having an image before it & all the tree nose are having the same image as shown below.
----Parent Node
---- i1 Child Node1
---- i1 Child Node2
---- i1 Child Node3
|
|
|
|
---- i1 Child Node n
So here I need to verify an image before Child Node2.I am trying to do this but the problem is before every TreeItem same image is present.So even the Child node doesn't contain the particular Image and other tree nodes containing the image the result will pass.
So pls provide me the code to verify this scenario.
Thanks,
Rakesh
Verifying Image in Tree Node
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Verifying Image in Tree Node
Hello Rakesh,
Which technology is used in your application (web, winforms, flex, ...)?
Could you please send us a snapshot file to see how your tree is organized?
Thank you!
Regards,
Bernhard
Which technology is used in your application (web, winforms, flex, ...)?
Could you please send us a snapshot file to see how your tree is organized?
Thank you!
Regards,
Bernhard
Re: Verifying Image in Tree Node
Hi,
The application is developed using Delphi and its a windows application
Please find the attached snap shot.
Thanks,
Rakesh
The application is developed using Delphi and its a windows application
Please find the attached snap shot.
Thanks,
Rakesh
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Verifying Image in Tree Node
Hello Rakesh,
Thank you for the snapshot file!
You can try to use the attribute 'childindex' to verify the correct image of the list item.
E.g. The value of attribute 'childindex' from the item 'Problem List/Past Medical' is 5 and the value of the corresponding image has the value 4.
With this value you can check if an image for a given list entry is available.
Regards,
Bernhard
Thank you for the snapshot file!
You can try to use the attribute 'childindex' to verify the correct image of the list item.
E.g. The value of attribute 'childindex' from the item 'Problem List/Past Medical' is 5 and the value of the corresponding image has the value 4.
With this value you can check if an image for a given list entry is available.
Regards,
Bernhard