Window Property - Security Level 1


Window Property ”Security Level 1

The Window property returns a reference to the Window object associated with a custom task pane. This object represents the active InfoPath window associated with a custom task pane.

The following example runs from a custom task to access the active window to show a MailEnvelope object:

 var objIWindow; objIWindow  = window.external.Window; objIWindow.MailEnvelope.Visible = true; 



Programming Microsoft Infopath. A Developers Guide
Programming Microsoft Infopath: A Developers Guide
ISBN: 1584504536
EAN: 2147483647
Year: 2006
Pages: 111
Authors: Thom Robbins

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net