Cita:
Empezado por maeyanes
Caro, para que tu solución funcione como debe ser, es necesario que luego de crear la lista de objetos hagas:
Código Delphi [-]
StringLists.OwnsObjects := True
|
De hecho, no es necesario, al menos así lo dice la ayuda de Delphi:
Cita:
If no parameter is specified, or if the constructor is called with AOwnsObjects set to true, the new TObjectList is initialized with OwnsObjects set to true
|
// Saludos