PreviewContainer Property

Provides a reference to the display surface on which the report will be rendered when the ReportListener provides output of Preview type.

ReportListener.PreviewContainer [=oReference]

Return Value

An object implementing the PreviewContainer API. .

The default value when you first create an instance of the ReportListener object is null (.NULL.).

Remarks

Applies To: ReportListener Object.

The ReportListener stores a reference to a Preview Container when rendering a report in preview mode (ReportListener.ListenerType = 1). You can provide the reference explicitly, or rely on the ReportListener's base behavior, which gets the reference to a PreviewContainer from the Report Preview Application. For more information, see _REPORTPREVIEW System Variable.

See Also

Reference

ReportListener Object Properties, Methods, and Events
The Preview Container API

Other Resources

Properties (Visual FoxPro)
Language Reference (Visual FoxPro)