Ver Mensaje Individual
  #4  
Antiguo 11-08-2008
[coso] coso is offline
Miembro Premium
 
Registrado: may 2008
Ubicación: Girona
Posts: 1.678
Reputación: 0
coso Va por buen camino
Veo q te adelantaste . Lo más correcto, igualmente, es el 'overload' te dejo la ayuda de delphi

Cita:
A method can be redeclared using the overload directive. In this case, if the redeclared method has a different parameter signature from its ancestor, it overloads the inherited method without hiding it. Calling the method in a descendant class activates whichever implementation matches the parameters in the call.
If you overload a virtual method, use the reintroduce directive when you redeclare it in descendant classes. For example,

Última edición por coso fecha: 11-08-2008 a las 14:16:59.
Responder Con Cita