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 ...

Get Microsoft® Office InfoPath™ 2003 Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.