Hi,
Some more nodefault and dodefault questions that has not been answered well enough for my understanding in the several other threads found here.
1. How can I get the debugger to traverse the code contained within my subclassed object as well as the base class so the actual firing order can be examined?
2. There are certain values that are set in the parent class that are being set even though there is a nodefault on the 1st line of the same method (not parent). For example... (note the parent name I use below is invalid in code and only used to convey hierarchy)
Contents of the load event in the subclassed form's parent load event. This code can be seen by clicking the "View Parent Code" button.
This code is shown in the same window that also hosts the 'View Parent Code' button.
I was thinking (incorrectly) that nodefault causes the code in the parent class method to be skipped (as if was never there) and I am not seeing this.
I need to skip the parent code, so how do I do this? I really don't want to mess with the subclassed objects as that would undermine what subclassing is all about, in my opinion. Instead, I would like to do a nodefault (or something) to skip the default method and write my own.
Thanks,
Stanley
Some more nodefault and dodefault questions that has not been answered well enough for my understanding in the several other threads found here.
1. How can I get the debugger to traverse the code contained within my subclassed object as well as the base class so the actual firing order can be examined?
2. There are certain values that are set in the parent class that are being set even though there is a nodefault on the 1st line of the same method (not parent). For example... (note the parent name I use below is invalid in code and only used to convey hierarchy)
Code:
SubclassedForm.Parent.load
public gcVar1
gcVar1 = 'Test'
Code:
SubclassedForm.load
NoDefault
? gcVar1(indent) && shows 'Test'
I was thinking (incorrectly) that nodefault causes the code in the parent class method to be skipped (as if was never there) and I am not seeing this.
I need to skip the parent code, so how do I do this? I really don't want to mess with the subclassed objects as that would undermine what subclassing is all about, in my opinion. Instead, I would like to do a nodefault (or something) to skip the default method and write my own.
Thanks,
Stanley