RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleContainer.InsertObjectDialog Method

Displays the Insert Object OLE dialog box.

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

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. 

 

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