It's easy, the FLAGS ! If your enum is enum MyEnum{ flag1 = 1, flag2 = 2, flag3 = 4, flag4 = 8, } And if you set everything ON (MyEnum = 15), the value is valid but not in the range. I think thats the reason why :) Merry Christmas !
E
ericmas001
@ericmas001