General information
Title:
Sub-Classes / DoDefault()
When you have a class hierarchy, for example
MyForm => MyFormClass => Form (VFP Base Class)
And I have a method in MyFormClass that has some code in it, but in the MyForm there is no code, when I call the method on MyForm does it automatically just go straight to the code on MyFormClass, or does it go through a default (internal) piece of code in the MyForm version of the method.
For example, lets use the method MyMethod
If MyForm.MyMethod is blank
But MyFormClass.MyForm has code like
LPARAMETER oMyObj
this.oProp = m.oMyObj
If I call MyForm.MyMethod, will Foxpro internally go to MyForm.MyMethod see there is no code and call a DoDefault() or will it just jump straight to the MyFormClass.MyMethod
I know in the Debugger it will jump straight to the MyFormClass, but internally is this what it does?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only