Wish Set default View.id to be equal to the View's Name

Cableguy

Expert
Licensed User
Longtime User
I guess the wish tittle says it all, but let me explain why this wish.
One of the, still mostly un-explored, major forces is the ability to use CSS, specially in the form of a file, to target the app as a whole... and while most of the times we want our mods to be the same to a whole view family, like buttons or labels, there are some rare occasions where we need to target a specific view, like to change it's individual corner radius...
I just spent over 1h to figure this one out, and luckily, someone else had had the same issue and found how to solve it...
in B4X, views ID have no meaningful meaning, and serve no particular purpose... most of the time they are used as an info holder, while still liberating the Tag property for other uses...
SO, since it (the id property) exists, it would be very useful for it to have a default meaningful value, and the best default value would be the view's name.
 
Top