I created this component which uses a TCollection, and it has alot of published properties but I want to be able to COPY a collection item instead of just ADDing an item and then adjusting all the properties manually from the delphi's Object Treeview/Object Inspecter. The defaults are fine, just the tweaking for each item can be a pain.
I want to add a menu item(s) which allows you to Add Item, Copy Item, Paste Item from the Object Treeview or when the component is right-clicked on a form. And I know I have to create a component editor to do that, but I have not been able to find any code that shows how I can actually "copy" or duplicate an item. Assign? I fooled around with it some, but got errors.
all the components ( statusbars, pagecontrols, etc...) I have seen only allow you to add/delete... nothing about copy/duplicate.
any help would be appreciated.