The Preview Container API

When previewing a report or label layout in object-assisted mode, a ReportListener requires an additional component to supply the preview user interface. This component is called a preview container and is written in Visual FoxPro code, and it is therefore completely customizable.

There are two ways a ReportListener instance gets a preview container when it needs one:

  1. Your code explicitly assigns an object reference to the ReportListener's PreviewContainer property.

  2. The ReportListener object asks for an object reference from the Preview Container Object Factory application referenced by the _REPORTPREVIEW System Variable.

Expand imageThe Preview Container API

Expand imageThe _REPORTPREVIEW Object Factory

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic