Share via


OnDataChangeDelay Property [Visio 2003 SDK Documentation]

Controls how long the Microsoft Office Visio instance waits before advising a container application that a Visio document being shown by the container has changed and should be redisplayed.

intRet = object**.OnDataChangeDelay**

object**.OnDataChangeDelay** = intExpression

intRet     Long. The current setting of the object.

object     Required. An expression that returns an Application or InvisibleApp object.

intExpression     Required Long. The new setting of the object.

Version added

3.0

Remarks

The OnDataChangeDelay property affects only instances of Visio that are run from within an OLE container document.

  • Setting the value of the OnDataChangeDelay property to zero (0) causes Visio to send immediate advises to the container as data changes in open Visio documents.
  • Setting the value of the OnDataChangeDelay property to -1 causes Visio to use the interval specified in the OLEUpdateDelay entry in the registry. If the registry doesn't contain this setting, Visio defaults to using a value of 10,000 (milliseconds).
  • Setting the OnDataChangeDelay property to any value other than -1 or 0 overrides the registry setting and sets the delay between advises to the value of OnDataChangeDelay. If the OnDataChangeDelay property is not set or set to 1 and the OLEUpdateDelay setting is 0, Visio never sends advises to the container.

Applies to | Application object | InvisibleApp object