Mark,
This isn't the font changing, what you are seeing is memory corruption caused by interaction between error handlers, the debugger and the class/form designer.
If you ever see your method code corrupt like this
close the designer WITHOUT SAVING CHANGES. Shutdown VFP and restart it, your method code should be back to normal.
If it's not you've done a save after the curruption occured and you are out of luck, start digging for backups or source control to recover to your last good version. If you are in a class you
may be able to retrieve code from the deleted records in the VCX.
>The problem I'm having is like this,
>The code behind objects on a form changes at random. When it changes it changes into a whole series of rectangles and other wingdings characters.
>
>This is happening unpredicably. At first I figured on rewriting the affected code but most of what I rewrote has now changed again. If I run the form/project it might run ok, then I go to look at the code and it has changed.
>
>Has anyone seen anything like this before? Because it keeps affecting code I don't see much point in rewriting only to have it change again.
>
>Another weird thing about it, I can't copy and paste the altered "code"
>
>thanks in advance