RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleContainer.OnObjectMove Event

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

Pascal
property OnObjectMove: TObjectMoveEvent;
C++
__property TObjectMoveEvent OnObjectMove;

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. 

 

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