Vcl.OleCtnrs.TOleContainer.InsertObjectDialog
Delphi
function InsertObjectDialog: Boolean;
C++
bool __fastcall InsertObjectDialog();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.OleCtnrs.pas Vcl.OleCtnrs.hpp |
Vcl.OleCtnrs | TOleContainer |
Description
Displays the Insert Object OLE dialog box.
Call InsertObjectDialog to let the user create an OLE object. The OLE object can be embedded or linked. InsertObjectDialog returns true if the dialog box was successfully displayed and the user chose the OK button. InsertObjectDialog returns false otherwise. If the user chose OK and there's already an OLE object in the container, it is destroyed and any changes the user made to it are discarded.