Thanks, that really worked. Now I understand why that typecast crashed the program, I was confunding TClass with TObject ops: