RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleContainer.UpdateObject Method

Refreshes the OLE object.

Pascal
procedure UpdateObject;
C++
__fastcall UpdateObject();

Linked OLE objects and embedded objects that contain linked OLE objects get out of date when the source of the link is updated. UpdateObject rereads the source to ensure that the OLE object has current data. If there is no OLE object loaded in the container, UpdateObject has no effect. 

 

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