Hi Darek,
Lest you think VFP is picking on you, it happened to a lot of people with VFP 6.0. It seems to be fixed in VFP 7.0.
Before it was fixed, however, it used to drive me bats, since you cannot predict when it will happens, so you have to be careful all the time.
What happens is you open a class and all your carefully crafted method code is blank. Its not really gone, it just did not appear in the IDE.
Here's what you do to get it back.
Close the class, but DO NOT SAVE IT. If you save it, your method code will be gone for good.
Then, at the command window...
CLEAR ALL
CLOSE ALL
RELEASE ALL
Then, reopen the class. Your custom code should be back.
Regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.