Hello,
I have an Enum to represent possible Options for a selectList
e.g
enum options {
blueish="Blue",
redish ="Red"
}
and I want the List-Entrys to say
"blueish" or "redish".
the value send to the app should be
"Blue" or "Red".
I can use __traits(allMembers,Enum)
for the identifiers, but how do I get the Values ?- getting Key:Value pairs of an enum at compile time ? Uplink_Coder
- Re: getting Key:Value pairs of an enum at compile ti... Rikki Cattermole
- Re: getting Key:Value pairs of an enum at compile ti... Jacob Carlborg
- Re: getting Key:Value pairs of an enum at compil... Uplink_Coder
- Re: getting Key:Value pairs of an enum at co... Stanislav Blinov
- Re: getting Key:Value pairs of an enum a... Uplink_Coder
- Re: getting Key:Value pairs of an e... Stanislav Blinov
- Re: getting Key:Value pairs of ... Uplink_Coder
- Re: getting Key:Value pairs... Uplink_Coder
- Re: getting Key:Value pairs... Stanislav Blinov
- Re: getting Key:Value pairs... Uplink_Coder
