Vcl.OleCtnrs.TOleContainer.UpdateObject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure UpdateObject;

C++

void __fastcall UpdateObject();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.OleCtnrs.pas
Vcl.OleCtnrs.hpp
Vcl.OleCtnrs TOleContainer

Description

Refreshes the OLE object.

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.

See Also