Skip to main content
Revanth
Associate II
November 16, 2021
Question

scroll list add and remove elements

  • November 16, 2021
  • 2 replies
  • 1164 views

Hi,

I want to create a scroll List where the elements have to be added or removed. I tried using remove but not able to remove elements even through call back like scroll list.

is there solution?

or how can I use remove ?

Thankyou,

This topic has been closed for replies.

2 replies

Romain DIELEMAN
ST Employee
November 25, 2021

Hi,

Have a look at the ListLayout example in the Examples tab when you create a project in TouchGFX Designer. This example uses a list layout widget within a scroll container, and lets the user delete elements by pressing a button.

/Romain

Revanth
RevanthAuthor
Associate II
November 26, 2021

Hi,

I tried that. But it's working only in case of list layout. I want to implement the list as arc as in scroll wheel tutorial for which I need to use either scroll wheel or scroll list.

I implemented the same with scroll list by changing drawables count whenever I add or remove element. But if I can implement it using remove function of scroll list, it would be effective.

Thanks for reply.​