Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can code be inherited?
Message
From
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:
00649181
Views:
9
>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
>
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform