Register / Login  |  Desktop view  |  Jump to bottom of page

tcMenu Arduinio library » ListRuntimeMenuItem where the rows are ScrollChoiceMenuItems ?

Author: pruttelherrie
16/01/2022 18:48:50
Hi Dave,

Subject says all: is it possible to create a ListRuntimeMenuItem, where all the rows are a ScrollChoiceMenuItem? I know that the rows are clickable so they can trigger an action, but I would like to have each row select an item from a ScrollChoice.

Iwan

Author: davetcc
16/01/2022 20:43:52
The best way would be to build your own menu at runtime. You can insert menu items at runtime. I would take a look at the examples for this. Several of them insert menu items into a dialog. That may be a better way to do what you want.

You can’t embed scroll items into a list. But you can implement the list call back to do whatever you want. You have control of what gets displayed and when there is a click. Many examples show the list callback.

Author: pruttelherrie
17/01/2022 06:57:07
Ok, thanks for the hints. Will report back when I have something working.




Register / Login  |  Desktop view  |  Jump to top of page