Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP5.0 DODEFAULT in VFP3.0
Message
 
To
04/02/1997 18:08:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00019271
Message ID:
00019306
Views:
55
>>>>How do you execute the default behaviour of a method in the immedate parent of an object. Is this the :: usage?
>>>
>>>DODEFAULT()
>>This is a 5.0 command, what I need is a way of performing the same thing in VFP3.0.
>
>YourClass::MethodorEvent()
>
>Example:
>
>BaseForm::Init()

Also it is good to remember, that there are several ways to call it, what could be used in different situations.
BaseForm::Init()
or
=EVALUATE(this.Class+"::Init()")
or
=EVALUATE(this.ParentClass+"::Init()")
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform