The Window Object

 <  Day Day Up  >  

The Window Object

The Window object represents a window used in InfoPath.

Window Object Methods

The Window object has two methods:

  • Activate() ” Activates the corresponding editing window. The method cannot be used with a design window, or an error will be raised. Security level 2.

  • Close() ” Closes the window corresponding to the Window object. Security level 2.

Window Object Properties

The Window object has six properties:

  • Active ” Read-only. Indicates whether the window associated with the Window object is or is not active. Security level 0.

  • CommandBars ” Read-only. Returns a reference to the CommandBars collection contained in the corresponding window. Security level 3.

  • MailEnvelope ” Read-only. References the MailEnvelope object associated with the window. Security level 2.

  • TaskPanes ” Read-only. Returns the TaskPanes collection associated with the Window object. Security level 0.

  • Type ” Indicates whether the window is a design window (has a value of 1 ) or a form-filling window (has a value of ).

  • XDocument ” Read-only. Returns a reference to the corresponding XDocument object. Security level 2.

 <  Day Day Up  >  


Microsoft Office InfoPath 2003 Kick Start
Microsoft Office InfoPath 2003 Kick Start
ISBN: 067232623X
EAN: 2147483647
Year: 2004
Pages: 206

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