Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Objects' method code disappear
Message
 
To
10/01/1999 20:28:40
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00174532
Message ID:
00174707
Views:
28
Erik,

You are talking VFP6, right ?

Michel.

================== Original message follows ======================

>>Dear All!
>>
>>I do not believe in ghosts but...
>>I switched to VFP6 for a month. Since then, I often experienced, that some method code disappearing, the method is default, instead of my code.
>>Firstly, I thought, it is because I opened the projects in VFP5 (During the transition I often did this.) But nowadays I donot do this. And even It happened, that after putting the original code back again into a method, compile all projects, opening the object method, it was empty!!!
>>It hapened in normal forms and in visual classes, also.
>>
>>Did anybody face this problem yet?
>>
>>TIA
>>
>>BB
>
>I have seen this from time to time, and I think I have tracedthe occurence to when I open a class in the class designer and there is an instance of that class in memory. What VFP should do is not allow me to edit the class, but instead it opens the class up, but displays none of the source code. If any modifications are made to the class and saved after the class has been opened in this state, the source code is permanently erased from the class definition. (This has been the occurence that has come closest to causing me to put my fist through the monitor and sending myself to the hospital).
>
>So now, when I open a class in the designer and notice that all of the source code is missing, I immediately close it (without saving any changes), type CLEAR ALL in the command window, and reopen, and voila, the code has reappeared.
>
>HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform