T tian fang Member Licensed User Nov 16, 2016 #1 I have ten buttons.I will set them the same style by using program. Like VB.NET, can I set obj =button#?
I have ten buttons.I will set them the same style by using program. Like VB.NET, can I set obj =button#?
Erel B4X founder Staff member Licensed User Longtime User Nov 16, 2016 #2 You can do whatever you like with controls. They are regular objects like any other object. You can add them to a List or an array. Check this B4A example: https://www.b4x.com/android/forum/threads/tick-tack-toe-working-with-arrays-of-views.8506/#content Upvote 0
You can do whatever you like with controls. They are regular objects like any other object. You can add them to a List or an array. Check this B4A example: https://www.b4x.com/android/forum/threads/tick-tack-toe-working-with-arrays-of-views.8506/#content