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. Dave -----Original Message----- From: ProFox [mailto:[email protected]] On Behalf Of Gene Wirchenko Sent: 03 March 2016 06:54 To: ProFox Email List <[email protected]> Subject: Re: Subclassed Methods Not Getting Executed At 13:10 2016-03-02, Ken Dibble <[email protected]> wrote: >> 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. > >1. Copy the code out of the method to a plain text file. Delete all >leading and trailing spaces. Save the file as plain text and close the >file. Then, in the Properties window, right-click the method and choose >"Reset to default". Then open the text file, copy the code from it, and >paste it back into the method. That usually works for me, but if it >doesn't: All of my code is in .prg files. I have verified that the code has no odd characters in it. >2. A. > >If it's a program class, delete the .fxp files related to it and its >superclasses and recompile them. Having been bit when VFP was not so good at keeping track of when to recompile, I do recompile. That is not it. >2. B. > >If it's an .scx or a .vcx class, BACK UP the file and delete the >contents of the Objcode field in the subclass, and recompile the object. Nope. It is a .prg. This approach has been working for years. It is very puzzling that the subclass code is not running. And because it is not running, I have nowhere to attach a set step on to. Except possibly the parent class to see if those methods are executing, but that still will not tell what is going on. Very puzzling. Sincerely, Gene Wirchenko [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] 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/[email protected] ** 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.

