RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleContainer.NewInserted Property

Indicates whether the OLE object was created rather than pasted in or created as a link to a file.

Pascal
property NewInserted: Boolean;
C++
__property Boolean NewInserted;

Read NewInserted to determine whether the OLE object was newly created via a call to InsertObjectDialog. If there is no OLE object loaded into the container, NewInserted returns false. If NewInserted is true after a call to InsertObjectDialog, call DoVerb(ovShow) to let the user edit the object. 

 

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