I was wondering if you could help me out to clarify how to display real time values from an indicator to a XAML textbox in an Addon.
I have an indicator that reads values from an account, these values are then shared with an addon via a Property. This is working fine, the updated values from the indicator are available within the addon.
The addon has a XAML textbox that should display the values every time they change. To do that I have implemented two ways:
- A buttonclick() method, when clicked, a string variable linked to the XAML textbox is assigned the updated value, and then displayed in the textbox. That´s working fine.
- The Property in the Addon also has registered an event that triggers every time the values change in the indicator, these values are assigned to the same string variable of the XAML textbox. I was expecting the updated value to appear automatically in the textbox, but it doesn´t do it. The event trigger of the Addon works because I see the updated values in the output window by doing a PrintTo.OutputTab1. However, I cannot make that same value to show in the XAML textbox. It only shows in the textbox when pressing the button (point 1 above).
Can you give me some guidance of what could be the issue and have a working example that I can have a look at?
Many thanks!
Comment