General information
Category:
Object Oriented Programming
>Hi came across the following situation:
>
>Say you have the following:
>BASE_FORM that has some code in the LOAD method.
>You create a child form CHILD_FORM based on the BASE_FORM. CHILD_FORM Load method has some code but no DODEFAULT(). Still, the method BASE_FORM.LOAD() fires in the CHILD_FORM.LOAD().
>
>Now say you have a slightly different situation:
>BASE_FORM has some code in the LOAD method.
>You create a child form CHILD_FORM which has no code in the LOAD method.
>You create a GRAND_CHILD_FORM based on the CHILD_FORM. The GRAND_CHILD_FORM.LOAD has some code. The GRAND_CHILD_FORM.LOAD method does not fire the BASE_FORM.LOAD() code. It fire only if you have DODEFAULT() in the GRAND_CHILD_FORM.LOAD().
>
>Why?
>
>TIA
SET COVERAGE TO output.log
Then use Martina Jindrova's CVP tool to load the .log file, then export with sources, and you'll see the full program trace log instruction by instruction. You'll be able to see the order of events, which code caused it to return without descending into all levels, etc.
The most helpful tool I've found for finding issues in code.
Previous
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