09-06-2009 01:00 PM
09-06-2009 01:30 PM
09-06-2009 01:34 PM
09-06-2009 06:04 PM
JimboH wrote:
Is it possible to turn off the shortened display of case structures with enumerated values,
No, it's not possible as far as I know. Since enum items are ordered, the shortened display contains all information and is of course sufficient.
You would need to edit your enum such that items that share cases are not adjacent to each other, but that seems silly.
Maybe you can order the items in your enum more logically, so related items are adjacent. For example if you have an enum as follows: [Init, begin, middle, end, cleanup], a case with "begin".."end" would make it quite clear that it includes the "middle". 😉
09-06-2009 08:18 PM
Yeah, I thought about reordering the cases. I actually have a set of menu options and I am using the strings property of the enumerated constant to display the menu options. Reordering the values would mean reordering the logical grouping of the menu options, unless I shuffled the strings property output to put the options back into order (what a mess!). Thanks for the suggestion though.