Window Object

Sample Code - Window Object

The Window Object is obtained through View.Parent. It is the window that previews the report. A Window represents the highest-level window associated with a single report. In the Crystal Report Engine and the Crystal Report Automation Server, it is a preview window.

Window Object Properties

Property Description Read/Write

Application

Returns a reference to the Application Object, that this object is associated with.

Read only

ControlsVisible

Returns/Sets Boolean value indicating if window controls are visible in the preview window.

Read/Write

Parent

Reference to the Parent object Report Object).

Read only

Report

Reference to Report Object.

Read only

Views

Returns Views Collection, a collection of views in the window.

Read only

WindowHandle

Returns the handle of the window.

Read only



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com