Vcl.OleCtnrs.TOleContainer.OnObjectMove

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnObjectMove: TObjectMoveEvent read FOnObjectMove write FOnObjectMove;

C++

__property TObjectMoveEvent OnObjectMove = {read=FOnObjectMove, write=FOnObjectMove};

Properties

Type Visibility Source Unit Parent
event published
Vcl.OleCtnrs.pas
Vcl.OleCtnrs.hpp
Vcl.OleCtnrs TOleContainer

Description

Occurs when the OLE container is notified that the OLE object has moved or resized.

Write an OnObjectMove event handler to respond when the OLE object changes size or position. The Bounds parameter specifies the boundaries of the in-place object in the client coordinates of OLE container. OnObjectMove occurs before the OLE object's image is updated to reflect the change.

See Also