Identifying text color of a tree item

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
rka
Posts: 25
Joined: Fri Jul 03, 2015 7:54 am

Identifying text color of a tree item

Post by rka » Thu Sep 17, 2015 5:17 am

Servus,

I encountered a new problem in our application. We need to validate the text color of a tree item, which I added as a snapshot here.
I haven't found any color attributes on the tree item itself, so I tried to add the tree to the GDI capture list which worked fine so far.
So now I have a rawtext object which has the TextColor attribute. The problem is that although the text color is green, the TextColor attribute is #000000 for any text color I saw inside the tree items.

What can I do here to get the text color of the tree item?


Thank you in advance for your answer,
best regards,
Rafael
You do not have the required permissions to view the files attached to this post.

rka
Posts: 25
Joined: Fri Jul 03, 2015 7:54 am

Re: Identifying text color of a tree item

Post by rka » Fri Sep 18, 2015 6:24 am

Problem seems to be solved:

Although the RawText Object seems to have the wrong parameters, much further down in the list of objects under the tree object there is a fresh created RawText object with the same layout parameters but this one has the correct RawText parameters, thus the correct TextColor parameter :)

Still wondering why now there are two of them, but anyway, it's working now.