Discussion:
Method code edits disappear on save
(too old to reply)
Tim Witort
2011-01-18 19:14:19 UTC
Permalink
I've got a VFP9 app with a number of classlibs. In one
particular classlib, when I make edits to method code and
attempt to save the changes, the editor window scrolls
slightly and all of the changes I just made disappear.

When this happens, if I close the class editor and reopen the
class, the same thing happens when making edits.

If I, instead, shutdown VFP9, restart it, open the class
and make the edits, then the changes are correctly saved.

Has anyone seen this before? What causes it? What's the
workaround? It's frustrating to make a bunch of changes and
have them wiped out when trying to save them.

-- TRW
_______________________________________
t i m . w i t o r t
_______________________________________

--- news://freenews.netfront.net/ - complaints: ***@netfront.net ---
Lew
2011-01-20 00:07:15 UTC
Permalink
Have you tried opening the classlib as a dbf and searching for the
code in one of the memo fields? Sometime the editor gets confused
about where method code should be written. When this happens, do not
compile/build before you look. And, of course, backup regularly. When
there is a lot of method code and many levels of parent classes open
at the same time, VFP may give up the ghost every now and then.

Loading...