ActiveWindow Property - Security Level 1


ActiveWindow Property ”Security Level 1

The ActiveWindow property provides access to the currently viewed window and to the properties and methods of the Window object that it returns.

The following example accesses the MailEnvelope property of the ActiveWindow to send an e-mail:

 var objEmail; objEmail = Application.ActiveWindow.MailEnvelope; objEmail.Subject = "Please Review Attached"; objEmail.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