Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Object from Class With All Properties/Methods
Message
From
08/08/2001 14:51:53
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
08/08/2001 14:18:53
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00541381
Message ID:
00541466
Views:
13
>Renoir
>
>>What I'm going to try and do is create a new class next to the old one in the same library and modify the new one a bit at a time (good advice, Nancy) and try and get a clean, working class. I was just trying to copy the contents of the Properties field of the original class into the new class, but they do not show visually in the new class; no errors when opening in the PM though. Are the Properties and Methods fields simply results of the visual class, or did I miss something?
>
>Easy copy of a class-
>
>1. Create a project
>2. Add your library
>3. Create a blank dummy library
>4. Drag Combo666 to the dummy lib (will make an exact copy)
>5. Rename the copied combo
>6. Drag copy to real library
>7. Blank properties and methods in the new one.
>
>Viola.

Worked great... Thanks Nancy!

Although, it would be nice if you could just right-click and copy/paste a class...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform