RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IComponentEditor.Copy Method

Provides an opportunity to copy the component to the clipboard in custom formats.

Pascal
procedure Copy;
C++
__fastcall Copy();

The forms designer calls Copy when the user tries to copy the component to the clipboard. When Copy is called, the component's filed image is already on the Clipboard.  

Implement Copy to copy a different clipboard format, which is ignored by the designer but might be recognized by another application. 

 

Assign 

SetAsHandleTClipboard_SetFormat 

AsText 

TClipboard

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!