On 10/8/10 6:37 AM, Jack Skelley wrote:
> Ok so what am I doing wrong? I moved one of my apps from VFP8 to VFP9 SP2 and 
> like in VFP8 I am losing method code on the objects. For example, the click 
> event on a button.
> I had this issue in 8 and couldn't stop it, so the consensus here was move it 
> to 9. So I did. But it is only slightly better.
> I have a habit of using ctrl W to close a method and the form when done with 
> it. Is this my issue? Does anyone one else here have similar issues? In VFP6 
> have never lost a line of code much less full methods. Should I be using the 
> save menu pad instead?
> I am crazed with this and have zero confidence with the code saving. From 
> what I can tell the method code is lost in the scx field but the objcode 
> remains. Is this an issue with the sct file?
> Any insight would be helpful at this point.

I use Ctrl+W to exit code editing windows all the time. I don't use VFP9 but do 
use 
the latest VFP8 occasionally still. The only thing remotely similar that I've 
experienced and was never able to track down why, was that all the code in a 
particular method would disappear after saving it *if intellisense was active*.

So, if I went to edit this particular method, I'd have to remember to turn 
intellisense off first (can't remember how to do that at the moment) or I'd 
lose all 
the code in the method after saving changes.

It may have actually been more complicated than that, like needing to have hit 
the 
'.' at some point to bring up the intellisense for a particular object, but 
life was 
too short and I was losing too many billable hours just recovering my code from 
source control and piecing together the missing bits that I never spent time 
tracking 
down the cause.

It wouldn't hurt to try turning off Intellisense. Probably won't help your 
case, but 
wouldn't hurt to try.

Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to