Share via


Window.TaskPanes Property

InfoPath Developer Reference

A read-only property that returns a reference to the TaskPanes collection that is associated with the Window object. Read-only

Version Information
 Version Added:  InfoPath 2003

Syntax

expression.TaskPanes

expression   An expression that returns a Window object.

Return Value
TaskPanes

Remarks

The TaskPanes property can be used only with the editing window types; if used with a designing window type, it will return an error.

Security Level 0: Can be accessed without restrictions.

Example

In the following example, the TaskPanes property of the Window object is used to set a reference to the TaskPanes collection:

JScript
  var objTaskPanes;

objTaskPanes = Application.ActiveWindow.TaskPanes;

See Also