RE: Subclassed Methods Not Getting Executed

Author: Gene Wirchenko

Posted: 2016-03-07 at 12:14:29

At 04:26 2016-03-03, Dave Crozier <DaveC@Flexipol.co.uk> wrote:

>Check you are actually pointing to the code (.prg) location that you

>think you are in code!!

>

>Many times I have found VFP picking up programs of the same name in

>different locations because my set path was screwed.

I ended up finding the cause of the problem. It was not path

at all, but it was related.

In frustration and to try to find the extent of the problem, I

started instrumenting every method in the subclass. I got most of

the way through when I came across a second method called actexit().

The compiler does not throw an error if you have two methods of

the same name in a class. (It should.) Whenever I searched for the

method, I found the first one. When there are two methods of the

same name, VFP executes the second.

[snip]

Sincerely,

Gene Wirchenko

_______________________________________________

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/

** 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 Gene Wirchenko