Vcl.OleCtnrs.TOleContainer.NewInserted

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property NewInserted: Boolean read FNewInserted;

C++

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

プロパティ

種類 可視性 ソース ユニット
property public
Vcl.OleCtnrs.pas
Vcl.OleCtnrs.hpp
Vcl.OleCtnrs TOleContainer

説明

OLE オブジェクトが,貼り付けやファイルへのリンクとして作成されたものではなく,新規作成されたものであるかどうかを示します。

NewInserted プロパティは,OLE オブジェクトが InsertObjectDialog 呼び出しにより新規作成されたものであるかどうかを示します。コンテナに OLE オブジェクトが読み込まれていない場合,NewInserted は false を返します。InsertObjectDialog の呼び出し後で NewInserted が true の場合は,DoVerb(ovShow) を呼び出してそのオブジェクトを表示します。

関連項目