Identifying text color of a tree item
Posted: 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
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