LinkUpdateOptions

Applies to

OLE controls

Description

The LinkUpdateOptions property specifies how a linked object in an OLE control is updated. There are two options: automatic and manual. If automatic is chosen, the link is updated when the object is opened and whenever the object changes in the server application. If manual is chosen, the link is not updated.

Usage

In a painter

To set the Link Update option:

  • Choose Automatic or Manual from the Link Update drop-down list on the General page of the control's Properties view.

In scripts

The LinkUpdateOptions property takes a value of the omLinkUpdateOptions enumerated datatype.

The following example sets the OLE control's update option to automatic:

ole_1.LinkUpdateOptions = LinkUpdateAutomatic!