Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying Methods From One Form to Another
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00649462
Message ID:
00649472
Views:
15
Charles,

The proper way to accomplish this is to create a form class that has the necessary methods. Then create two forms as subclasses of the class. Then you'll have a single point to maintain all of the code.

>
Use form1.scx In 0
>cMethods = methods
>Use form2.scx In 0
>Replace methods With cmethods
>
>I'd like to just copy the methods I've put in form1 to form2 since I use the same methods, just a different interface. Will there be any other fields I need to copy? I just want 'em methods from one form to another. Thanks.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform