Modifica

Condividi tramite


HTMLTaskPaneExternal.Window Property

Definition

Gets a reference to the WindowObject object associated with a custom task pane.

public:
 property Microsoft::Office::Interop::InfoPath::Window ^ Window { Microsoft::Office::Interop::InfoPath::Window ^ get(); };
public Microsoft.Office.Interop.InfoPath.Window Window { get; }
member this.Window : Microsoft.Office.Interop.InfoPath.Window
Public ReadOnly Property Window As Window

Property Value

Examples

In the following example, the HTMLTaskPaneExternal object is used through the external property of the Dynamic HTML (DHTML) window object that is part of the DHTML object model, to set a reference to the WindowObject object that is part of the InfoPath object model:

Note: The following code resides in the HTML file that represents the external task pane.

var objWindow;

objWindow  = window.external.<span class="label">Window</span>;
objWindow.MailEnvelope.Visible = true;

Remarks

The Window object returned represents the currently active Microsoft Office InfoPath 2003 window that is associated with the custom task pane.

Applies to