I do the same but use strict type defs of an enumerated type, I've never
seen this happen before using them. I have seen it using normal controls
when the enumerated type is changed and there is a string that is similar,
but not the same.
You get round it by finding the offending string in the case and replacing
it (without speech marks).
I'll reiterate I use Strict Type Defs and you have to try really hard to get
them confused.
Brian Wells
wrote in message
news:506500000008000000F82B0000-1000509150000@exchange.ni.com...
> I have implemented a case machine using a type def enum to select the
> cases. The enum is a set of strings identifying each state.
> Initially the string for each state is listed in the case.
> There is something that I occasionall
y do when modifying the enum
> which causes the case statement to display the index of the enum
> string. I am not able to revert back to the string display without
> completely rebuilding the case statement and cut and pasting my code
> from the old to new case statement.
> I haven't been able to determine how I cause this to happen. What is
> it that I do to make this happen, so I can stop causing it to change?
> How to I make the case statement display the string state names again?