Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code Changes font sporadically
Message
 
 
To
15/12/2004 05:05:14
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00969361
Message ID:
00969538
Views:
9
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
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform