Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Method code swapping places with oher methods
Message
 
To
28/07/1999 15:14:21
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00247354
Message ID:
00247371
Views:
28
>Has anyone else run into a problem where, upon saving changes to a form, method code mysteriously gets swapped to other methods? For example, all of the code from the form's INIT method moves to the REFRESH method, and vice-versa. This happened to me before on a particular app I wrote in VFP5, and then it just happened to me again today on a completely different VFP 6 app. (I do have SP3 loaded.) I can't figure out what makes it happen, because it doesn't happen every time. When it happens though, it swaps code from several methods, but not all of them. It happens to object methods and form methods. The only thing similar about these two apps is that they both use a pageframe. Finally, I will add that in thinking it was related to my custom class library, I did some testing using only the VFP foundation classes, and the problem still happened.
>
>Any ideas?

I had this problem only with Dataenvironment.BeforeOpenTables and AfterCloseTables methods in VFP 5, but it is a known bug.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform