Avon Member Licensed User Longtime User Apr 17, 2017 #1 It would be good to use buttons for this but I cannot see how to create buttons dynamically. The screen is mapped to regions by slicing into horizontal bands in one or two columns, depending on the number of rows in a table. Would it be better to use pixels or percentages for this? A click on a region will execute some region-specific actions. How should I approach this please?
It would be good to use buttons for this but I cannot see how to create buttons dynamically. The screen is mapped to regions by slicing into horizontal bands in one or two columns, depending on the number of rows in a table. Would it be better to use pixels or percentages for this? A click on a region will execute some region-specific actions. How should I approach this please?
Erel B4X founder Staff member Licensed User Longtime User Apr 17, 2017 #2 Avon said: It would be good to use buttons for this but I cannot see how to create buttons dynamically. Click to expand... Check this example: https://www.b4x.com/android/forum/threads/tick-tack-toe-working-with-arrays-of-views.8506/#content Upvote 0
Avon said: It would be good to use buttons for this but I cannot see how to create buttons dynamically. Click to expand... Check this example: https://www.b4x.com/android/forum/threads/tick-tack-toe-working-with-arrays-of-views.8506/#content
Avon Member Licensed User Longtime User Apr 17, 2017 #3 Got it, nice clean example code too. Thanks! Upvote 0