>Maybe i did not explain well.
>
>I want may control autocopy all code from the parent class.
>
>
>(La idea es copiar automaticamente el contenido de la clase en el objecto actual)
I agree in principle with Mike Helland - the whole idea of OOP is NOT to copy lots of code. However, a few lines of code remain which can be used as a template.
What I do in practice is copy an existing class to another class library (drag-and-drop), rename it, and copy it back. Thus, I have a template where I can start making changes.
However, please keep in mind the idea to reduce the code thus copied - putting anything generic in the parent of both classes (the original and the copy).
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)