If the method has a subclass, *anything* in the subclassed method will
cause the superclasses code not to run. I often find I've left a
whitespace character -- tab, space or carriage return -- in the
subclass. Ctrl-A, Ctrl-X clears them out.
As an alternative, add:
SET STEP ON
DODEFAULT
to the subclass and see if *that* executes.
On Wed, Mar 2, 2016 at 3:55 PM, Gene Wirchenko <genew(a)telus.net> wrote:
> Dear Vixens and Reynards:
>
> I have a new program that has had a bug reported on it that a table was
> not getting closed. I have a routine that runs after most menu choices that
> checks that no tables are still open and reports if any are.
>
> OK, maybe I missed it. No, there is code in the exit method that
> closes the table. Maybe, there is an error in the test. Insert a set step
> on. The method never gets executed! I have used this way for years for
> other forms, but in this form, the exit method just does not get executed.
>
> I have scanned the source code for odd characters. There are none.
>
> What might I be overlooking?
>
> Sincerely,
>
> Gene Wirchenko
>
>
[excessive quoting removed by server]