Vcl.OleCtnrs.TOleContainer.PasteSpecialDialog
Delphi
function PasteSpecialDialog: Boolean;
C++
bool __fastcall PasteSpecialDialog();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.OleCtnrs.pas Vcl.OleCtnrs.hpp |
Vcl.OleCtnrs | TOleContainer |
Description
Displays the Paste Special OLE dialog box.
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.