Is there a way to duplicate an entire class?
Aside from creating a new class, and copying & pasting each of the fields & functions in the original... is there an easier way to copy an entire class?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?It used to be possible. As valuable as it was, it wound up causing more harm than good.
One person spent several days trying to chase down all the broken references in the copy that looked ok, but didn't actually work. He claimed it would have been much faster to just recreate the entire class by hand.
So we took it out.
1 person says
this answers the question
-
Inappropriate?Something doesn't seem quite right though, now that I'm looking at it in more depth. The intention was to remove the ability to copy something between classes, but it seems we missed some things, as you can still copy items between classes (potentially causing bad references).
You can move a class from one TypeLib to another by dragging and dropping within the Solution Explorer. I doubt that's what you're trying to do, but just in case. -
Inappropriate?With this change, it doesn't appear that the functionality described in HowTo: Using Check in and Check Out about "Undeleting a Class" will work any more. So, unless I'm missing something, if one accidentally deletes a class, is one just "out of luck"?
I’m befuddled
-
Olympyx--the docs have been updated to reflect the replacement methodology for "undeleting" a class or project.
Loading Profile...



