Ver Mensaje Individual
  #6  
Antiguo 30-01-2024
Avatar de Neftali [Germán.Estévez]
Neftali [Germán.Estévez] Neftali [Germán.Estévez] is offline
[becario]
 
Registrado: jul 2004
Ubicación: Barcelona - España
Posts: 18.285
Reputación: 10
Neftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en bruto
Este seguramente, porque en la parte del ELSE añades a la lista esto:
Código Delphi [-]
Index:=L2.Add(panx);

En lugar de esto:
Código Delphi [-]
Index:=L2.Add(pany);

Eso provoca el "Accesss Violatoin" al destruir los componentes.
__________________
Germán Estévez => Web/Blog
Guía de estilo, Guía alternativa
Utiliza TAG's en tus mensajes.
Contactar con el Clubdelphi

P.D: Más tiempo dedicado a la pregunta=Mejores respuestas.
Responder Con Cita