11-06-2007 09:06 AM
11-06-2007 09:12 AM
I did something like that. I used a Text box instead of Enum. As long as the values are unique it should work.
11-06-2007 09:16 AM
11-06-2007 09:17 AM
You're not missing anything - this can't currently be done. See here.
You can use a ring, but a ring does not label case structures and its values are not automatically preserved through typedef changes (you can preserve them if you change the datatype, e.g. by changing the representation, but you have to be careful).
One option would be adding the numeric value into the enum string and then converting the enum to a string and parsing it out, like shown in the attachment.
11-06-2007 09:49 AM
11-06-2007 10:33 AM
11-06-2007 10:33 AM - edited 11-06-2007 10:34 AM
11-06-2007 10:34 AM
11-06-2007 12:41 PM