Unable to load property of a component
Hello,
I have a problem in my dektop application, I would like to retrieve the value of a textBox. This value is contained in an object belonging to the texBox.
My component has a formatedtext property that is an object with the following properties inside.
When I try to retrieve the value via the TC Code, it returns empty, as soon as I put a breakpoint at the object and I evaluate the value of the object myself, Value of the component is found. ( oComponent.FormattedText.OleValue)
The code used worked very well on TC 9 is that it no longer works since I passed under TC 12.
The fact of evaluating the value of this object then allows that I can recover it by letting the code go to the end. I also try to put a delay or make a resfresh of my component but nothing changes, how then do I do?
I based myself on the text property that works well to get around the problem, but I wanted to understand why the formatedtext does not work. In the end the focus of the component already present at the time of the search for the component block this update. Thank you