Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving code from form to custom class
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00537213
Message ID:
00537282
Views:
14
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
Previous
Reply
Map
View

Click here to load this message in the networking platform