Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can code be inherited?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00649179
Message ID:
00649185
Vues:
10
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)


>>If I create a class containing any code, can that code be inherited when I place the control on a form.
>
>It is automatically inherited.
>
>If you place additional code on the button on the form, inheritance is broken - unless you use DoDefault() (or the old-style, now-seldom-used, scope-resolution operator ::).
>
>HTH, Hilmar.
>
>>
>>For example:
>>
>>
>>Lparameters param1,param2
>>**Place to define variables
>> varx= ""
>> vary= 0
>>
>>**Place to Release variables
>>
>>release varx,vary
>>RELEASE thisform
>>
Dominican Republic, a Paradise in America
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform