Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving code from form to custom class
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00537213
Message ID:
00537282
Vues:
12
Jesse,

The content of the Methods and reserved* memos is somewhat fragile to hand manipulation like you've done. If something is out of order then as you've found you'll not be able to use it.

Is it really so many methods that a few copy/pastes are that hard?

You can use the ReadMethod/WriteMethod methods to programatically move the code from one designer to the other.

>Thanks! I see where "Reserved3" holds the props and methods, and after adding the appropriate names of both, they appear in the custom class. But when I modify a method I just added, the code that I added in the "Methods" memo field does not appear in the class designer.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform