Android Question Exposing Spinner Properties

RichardN

Active Member
Licensed User
Being able to set view properties by collection is so useful. I have a tablet application that has a complicated interface containing many spinners to set parameters. It would be very useful to set properties like this..... Instead by many single lines of code....
B4X:
For Each V As View In pnlMain.GetAllViewsRecursive

   'This works fine
   If V Is Label Then V.Color = Colors.Yellow

   'But .DropdownBackgroundColor is sadly unavailable
   If V Is Spinner Then V.DropdownBackgroundColor = Colors.LightGray

Next
Is there a way of exposing spinner properties by collection so they can be set en-masse?
 
Top