Possible to set default value for combo attributes?


#1

For spinner attributes, it's possible to set a default value using the DefaultValue tag. However, is there a similar tag for combo attributes?


#2

In what case is it needed to use a different default than just the first entry?


#3

In my case I was constructing an LCD control object, where the pin assignment is set using attributes so the same object could be used without editing no matter how the LCD was connected. However, having all pins set to PA0 seemed rather meaningless, so I wanted to set them to consecutive values, or some other default.
(To be absolutely frank, I was writing the LCD control object for my P6 fork, and it would be nice to set the P6 LCD connections as default, but still have the object reusable by anyone who wanted to connect a character LCD).