View.Window Property
InfoPath Developer Reference |
A read-only property that returns a reference to the window object associated with a view. Read-only
Version Information
Version Added: InfoPath 2003
Syntax
expression.Window
expression An expression that returns a View object.
Return Value
Window
Remarks
The Window object returned by the Window property represents the currently active Microsoft Office InfoPath 2007 window. It can also be accessed through the Windows collection.
Security Level 2: Can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.
Example
In the following example, the Window property of the View object is used to set a reference to the first task pane contained in the TaskPanes collection:
JScript |
---|
|
See Also