But I can't redeclare TindiceRec to a record, because it's a class with a lot of methods, and I don't want to manage a record but a class... So, I understand I could try an other issue : declare a record RIndiceRec and writing a cast method to the class in order to use class in place of record... Is it possible to write a cast operator for a class ?