Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can code be inherited?
Message
 
To
25/04/2002 11:47:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00649179
Message ID:
00649185
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform