2019-11-27 12:17 AM
I'm still using v4.10.
I've read through the following tutorial and also looked at the example demo.
https://touchgfx.zendesk.com/hc/en-us/articles/360018398832-Scroll-Wheel
Neither the item.updateText() nor the item.setIndex() functions are recognized.
void Screen1View::scrollWheelUpdateItem(textContainer& item, int16_t itemIndex)
{
item.updateText(itemIndex);
}
void Screen1View::scrollWheelUpdateCenterItem(textCenterContainer& item, int16_t itemIndex)
{
item.updateText(itemIndex);
}
Can someone please shed some light. Thanks
-Renier
Solved! Go to Solution.
2019-11-29 10:41 AM
Hi Martin,
I've resolved the issue I had. I didn't implement the function in the container, that's why it didn't work. The example I followed were a bit unclear and didn't specify that one should implement the function within the container, stupid error from my side though.
2019-11-29 01:17 AM
Can you provide a build log?
/Martin
2019-11-29 10:41 AM
Hi Martin,
I've resolved the issue I had. I didn't implement the function in the container, that's why it didn't work. The example I followed were a bit unclear and didn't specify that one should implement the function within the container, stupid error from my side though.
2019-12-02 12:00 AM
That's great : )