Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding code to every form/WriteMethod
Message
 
 
To
27/03/1998 12:43:50
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00087353
Message ID:
00087736
Views:
34
Jim,

DoDefault() or :: does cause the code up the class tree to be executed, right when it's called (IN-LINE), it's not at the end like the VFP BaseClass behavior.

FWIW in C++ there is no automatic calling of the method code, you always have to use ::, unless you are intending to explicitly prevent code up the class from executing.

>
>That aside, It still appears more likely to me that DODEFAULT would operate similarly to NODEFAULT - that is, *after* supplied code is executed.
>And therein lies one MAJOR advantage of the :: way of doing it, in that it makes sense that that would execute IN-LINE exactly where specified.
>
>I may be barking up the wrong tree here, but details like this seem relevant to me, and I would like the docs to tell me rather than have to guess.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform