>This has happened to me about 3 times in the past year. I know I'm not crazy!
>
>I'm working on a form with lots of method code. I make a change, save my changes and the next time I run the form some of my method code is gone. It's not even the method I was working on!
>
>Today all of the code on my page frames (Activate, Deactivate and Refresh) was wiped out. All of the other code is fine!
>
>Once a few months ago, the code actually swapped. So Page1.Activate and Page1.Refresh were swapped, etc.
>
>This has happened with different forms, different projects.
>
>Anyone else seen this?
Completely missing, yes - happened a lot in VFP5, rarely in VFP6, and never in 7 or up.
Partially missing, happened only once, when I had a TEXT command without a matching ENDTEXT, so VFP went looking for EndProc command after the Endtext - and never found it. I solved that one by editing the Methods memo in the .vcx (or was it a .scx) and recompiling the classlib (or the form).
Methods swapped - never happened. Try Compile Form ... it may force Fox to reread the source and rebuild the changed/added PEM list in Reserved3 field (or was it Reserved7... I'm bad with names).