Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Method code disappear - I have lost my faith
Message
From
12/10/1999 04:48:56
 
 
To
11/10/1999 20:46:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00274742
Message ID:
00275316
Views:
27
>For the brave of heart, you may wish to actually look into the SCX/SCT table which is the basis of your coding. Each of the Objects ( buttons, textboxes, etc. ) have their own record and memo record. From your messages, I sense that the 'snippet' / method code which disappears is inconsistent -- or changes from run to run. What I am suggesting is that you open and browse a form, looking at the field names 'Properties' and 'Methods'. Since your complaint is the disappearance of 'Methods', I would look there.
>
>select 0
>use xxxxxx.SCX
>locate for Objname = "desiredObject" && could be atc() or any other expr
>edit NOEDIT
>.
>.
>.
>double click on the field 'Methods'
>
>you should see the methods you have coded, I would look for odd shaped characters which may affect how VFP builds / stores the methods when compiling the APP's and EXE's. These odd shaped characters are within the 8 bit ASCII character set, but may have programmatic effects in VFP.
>
>This is different from some of the other suggestions, and please note the NOEDIT on the edit command, which will keep your SCX/SCT safe from bad keystrokes -- not that you would make bad keystrokes, but it has happened.

Dear Robin,

the problem, when I face an actual problem, code is really gone. Sometimes, when I face the problem "just in time", Recompile all option in Build used to bring back missing code snippet. (Mostly, my users say, that such and such buttons donot nothing.And these times, I know the reason. In VFP 5 it was very rare, and I thought, that I forgot something, or deleted the code accidentaly. In VFP6, it happens very frequently.)
All missing code snippets are event codes, that was clicked/fired at latest design enviroment run.

bb
Previous
Reply
Map
View

Click here to load this message in the networking platform