I wish this was a solution post, but it is a frustration post. I trying to figure out how I can use Ord() to convert an enumerated type to integer or cast an integer to an enumerated type using generics type arguments?uses SysUtils, TypInfo;type TEnumGen = class class function Name(const ...
More...