Re: Subclassed Methods Not Getting Executed

Author: Ted Roche

Posted: 2016-03-02 at 15:10:21

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@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]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CACW6n4vMvj2HB04yh2_pFWYfzivTZtnvf9cDb=2-6LenEmf3bA@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2016 Ted Roche