cancel
Showing results for 
Search instead for 
Did you mean: 

Touch detection in scrollist item.

ShivDesh
Associate III

Hello All,

I am new to touchgfx and looking to implement something where a array of structure containing name and other parameters to display. I need to display parameters on selection of the names displayed.

ShivDesh_0-1747647231509.png

 

I have a   created a container and able to update the parameter names to the textarea of scrollist as in picture.

Now i need to implement a way where user can select any one Preset name and those corresponding parameters should load to the respective area. as in image attached.

 

Just let me know the way to do it will try out things as suggested.

14 REPLIES 14

Hello @Shiv09 ,

 

I understand.
If you can create an empty project and reproduce the issue that would be amazing! :)

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)
Shiv09
Associate III

Hello @GaetanGodart 

Thanks for your reply.

Here is one of the samples I am trying to do, though the content of the scroll list is more but just for our discussion and experiments created a sample.

 

Will Discuss on it further once you are available.

Hello @Shiv09 ,

 

In this example, you have 50 items and it does not crash like previously.

 

What is this code supposed to do?

GaetanGodart_0-1750062066388.png

 

Regards,

 

Gaetan Godart
Software engineer at ST (TouchGFX)

Hello @GaetanGodart ,

 

Yes this is new example I am trying to do experiments on.

Yes I need 50 Elements in the scrolllist, so added it.

In the above example I am trying to update the text in each element eg its name. hence have added it.

 

I share the snippets of the actual code which is crashing, hope it will be helpful. 

Shiv09_0-1750136003002.pngShiv09_1-1750136036115.png

 

Shiv09_3-1750136199538.png

 

Hello @GaetanGodart ,

 

Got any suggestions for me to tryout ?

Is there any possibility to search the items in scrollist with names ?

I mean I need to develop something where User can search the Item with name eg, out of 20 items is user presses "A" then only the item names with A should be displayed and once they click on the selected item, the values in that Item shall be loaded.

 

What would be your suggestion to go with for above request apart from scrollist ?

 

BR,

Shiv