[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


This forum is read only and new users cannot register, please ask all new questions either using GitHub discussions, or in Arduino forum tagging @davetcc.

ListRuntimeMenuItem where the rows are ScrollChoiceMenuItems ? RSS feed
Forum Index » tcMenu Arduinio library
Author Message
pruttelherrie


Joined: Oct 21, 2020
Messages: 24
Offline
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
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
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.
pruttelherrie


Joined: Oct 21, 2020
Messages: 24
Offline
Ok, thanks for the hints. Will report back when I have something working.
 
Forum Index » tcMenu Arduinio library
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.