cancel
Showing results for 
Search instead for 
Did you mean: 

Scroll wheel not working

reniervdw1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

3 REPLIES 3
Martin KJELDSEN
Chief III

Can you provide a build log?

/Martin

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.

That's great : )