Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Htmllistener issue
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01311192
Message ID:
01311830
Views:
26
Hi Jeff,

I created a small test project with one Top Level form and run your code from a button on it. VFP desktop didn't show up, only Top Level preview window.

>Here is the code I'm using for the preview:
>
>
>* Get a reference to the preview container API
>  Do (_ReportPreview) With oPreviewContainer
>
>  * Set preview container API properties
>  With oPreviewContainer
>    .Caption = cCaption
>    .TopForm = .T.
>  EndWith
>
>  * Create the report listener object and assign the preview container object
>  oReportListener = NewObject('ReportListener','_ReportListener')
>  With oReportListener
>    .DynamicLineHeight = .T.
>    .ListenerType = 1
>    .PreviewContainer = oPreviewContainer
>    .QuietMode = .T.
>  EndWith
>
>  Report Form (cReportName) OBJECT oReportListener NOWAIT
>
>
>
>Thanks again for taking a look at this.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform