Vcl.OleCtnrs.TOleContainer.NewInserted

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property NewInserted: Boolean read FNewInserted;

C++

__property bool NewInserted = {read=FNewInserted, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.OleCtnrs.pas
Vcl.OleCtnrs.hpp
Vcl.OleCtnrs TOleContainer

Description

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

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.

See Also