I'm creating a builder that will create/modify a Sub-Class.
If the ParentClass has a lParameter statement I need to put a "lParameter" and "Dodefault(Parameter)" in the method that I'm Writing (using WriteMethod).
How can I get get the lParameter statement out of the ParentClass?
VFP won't let me modify the ParentClass, because there is an instance of a Sub-Class open.
I've tried the ReadMethod on the class being modified, but it's blank. It's blank even after saving and reopening it. If I put my code into the Sub-Class without knowing if there is a lParameters statement in the ParentClass, then the lParameters statement get omitted from the sub-class.
Is my only option to :
1 close the Sub-Class
2 modify the ParentClass
3 ReadMethod of ParentClass
4 close the ParentClass
5 modify the Sub-Class
TIA
Bill Morris