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
Identifying text color of a tree item
Identifying text color of a tree item
You do not have the required permissions to view the files attached to this post.
Re: Identifying text color of a tree item
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.
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.