Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple class question
Message
From
08/01/1999 22:41:15
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00173492
Message ID:
00174279
Views:
36
Christof, Jim,

Occasionally I use the :: Scope Resolution operator. How does this differ with DoDefault()? Did I miss something here?

TIA.

Kenneth




>Hi David,
>
>>I created a custom class based on the form class and put code in the init procedure and some user-defined methods. When I create a form based on the custom class and put additional code in the init procedure the original code from the class does not run. What am I missing here? Thanks.
>
>You have to explicitely call the code in the parent class. By defaults, VFP overrides this code. SInce VFP 5 you can use DODEFAULT():
>
> * Init
> DODEFAULT()
> *... the rest of the new code
>
>Christof
Kenneth.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform