I have a Horizontal List which contains several Digital Displays.
Each of these displays is tied to a different variable, stored as a Property by uisng the Outlet.
In my code I have a timer which runs an UpdateData slot, which is as follows:
sender; /* the method is called from the sender object */
native
{
retrieve_data();
}
HorizontalList.InvalidateItems( 0, HorizontalList.NoOfItems - 1 );
So it first calls the retrieve_data function from my driver code, which in turn then calls the UpdateMethod() of the relevant Property.
Then this UpdateMethod changes the Property value and notifies all observers.
Lastly, the HorizontalList is invalidated supposedly calling a refresh of the data, however this doesn't seem to work...
The Digital Displays in the list only update when I scoll the Horizontal List and it reloads the Digital Display.