Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy two methods from one class to another
Message
From
07/06/2010 17:34:56
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01467735
Message ID:
01467777
Views:
160
This message has been marked as the solution to the initial question of the thread.
Naomi --

This is one of the many features in PEM Editor -- copying some / all properties and / or methods from one class / form to another.

Steps are:
1) In the class that you are copying from, right-click on the combobox near the top of the form. Select the options "Copy ..." (wording here varies from one version to another, but you get the idea)
2) Open up the destination class, right-click on the combobox again, and select "Paste" (surprise!)
3) You'll get a pop-up window that will allow you to select which properties / methods you want to paste.

This is described in more detail in the Help file.

Cheers

Jim

>Hi everybody,
>
>I have two separate form classes. I added two custom methods to one form class. I found that I need these methods (with descriptions) in another form's class as well.
>
>How can I copy these two methods form one form to another?
>
>Thanks a lot in advance.
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform