Vcl.OleCtnrs.TOleContainer.OnObjectMove
Delphi
property OnObjectMove: TObjectMoveEvent read FOnObjectMove write FOnObjectMove;
C++
__property TObjectMoveEvent OnObjectMove = {read=FOnObjectMove, write=FOnObjectMove};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
event | published | Vcl.OleCtnrs.pas Vcl.OleCtnrs.hpp |
Vcl.OleCtnrs | TOleContainer |
説明
OLE オブジェクトが移動またはサイズ変更されたことが OLE コンテナに通知されると発生します。
OnObjectMove イベントハンドラを記述すると,OLE オブジェクトが移動またはサイズ変更されたことが OLE コンテナに通知されたときに応答できます。Bounds パラメータは OLE コンテナのクライアント座標でインプレースオブジェクトの境界を指定します。OnObjectMove は,変更内容を反映するために OLE オブジェクトのイメージが更新される前に発生します。