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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access