This single line of code:
ShowMessage(GetEnumName(TypeInfo(TAlign), 1));
returns "alTop".
How can I get all values of enumerated type into stringlist, when I want to use string variable: 'TAlign' instead of TAlign? Something like:
ShowMessage(GetEnumName(TypeInfo('TAlign'), 1));
Thanx