RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleContainer.PasteSpecialDialog Method

Displays the Paste Special OLE dialog box.

Pascal
function PasteSpecialDialog: Boolean;
C++
__fastcall Boolean PasteSpecialDialog();

Call PasteSpecialDialog to let the user control how the contents of the Windows clipboard are pasted into the container. The Paste Special dialog box lets the user select the format of the data, whether it should be embedded or linked, and whether the OLE object should be displayed as an icon (and if so, to choose a different icon). PasteSpecialDialog returns true if the dialog box was successfully displayed and the user chose the OK button. It returns false otherwise. If the user chose the OK button when there's already an OLE object in the container, it is destroyed and any changes the user made to it are discarded. 

 

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