Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/ActiveX/Type Library Editor    [ Add a report in this area ]  
Report #:  34441   Status: Open
Can't copy/paste method from on interface to another
Project:  Delphi Build #:  10.0.2151.25345
Version:    10.0 Submitted By:   MingCheng Chen
Report Type:  Basic functionality failure Date Reported:  9/25/2006 6:11:55 PM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   242184
Resolution: Deferred to Next Rel (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (2 Total Ratings)
5.00 out of 5
Total Votes: 1
Description
In the Delphi 2006 (Win32), can't copy a method from one interface to another interface. When right-click on the interface, the 'paste' of the pop-up menu is disabled.

In Delphi 7, following the same steps, the 'Paste' is enabled, and copy/paste can work.

<sysop>
The reason might actually be the copy and not the paste, since if I copy a method in D7's TLB-Editor I can paste it in BDS but not vice versa! The clipboard viewer doesn't reveal any obvious differences (CF "Borland Type Library Editor Object" present in both cases).
</sysop>
Steps to Reproduce:
In Delphi 2006 (Win32):
1. Use File | New | Other... to launch 'New Items' dialog.
2. Select Delphi Projects | ActiveX | Type Library
3. Add Interface1 and Interface2 to this type library
4. Add Method1 to Interface1
5. Right click on method1, select Copy

And then right click on Interface2, you will find that 'Paste' is disabled.
Workarounds
None
Attachment
None
Comments

Sebastian Modersohn at 9/30/2006 2:35:32 PM -
I can reproduce this and also added other findings to the description.

Server Response from: ETNACODE01