Is there any example for dynamic creation of a Submenu or a datalist ?
I want to show a list of values (analog, boolean) in a Sumbenu. But the list can change at runtime, so i have to create this Menuitems at Runtime.
I believe that a datalist is the best way for my problem, but how to set Name, Value and Type of a row ?
|