Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does VFP 3 have DODEFAULT() and NODEFAULT ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00177576
Message ID:
00177655
Views:
33
Steve,
No VFP 3 does not have DoDefault(). In VFP3 you use the scope resolution operator :: to call the code from an inherited method like this:

Define class foo as parentfoo

Function Init()

parentfoo::init()

*-- your code goes here.

End Func

EndDefine

I believe the keyword NODEFAULT is in VFP3. Not sure where in the docs though.
Look in the QueryUnload() example in the help file I believe I saw it there.

It might also be in the DEFINE CLASS docs.

Thanks
Rod
Rod Paddock
Editor in Chief CoDe Magazine
President Dash Point Software, Inc.
VP Red Matrix Technologies,Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform