Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview with reportlistener
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01134077
Message ID:
01134126
Views:
12
Great!

And thank you.

By the way Cathy, those 2 articles on the Report Writer/engine/reporting are fantastic.

Regards

Mathias

>>Any ideas guys how to force / default the Preview (Listener type 1) to FULLSCEEN?
>
>
>LOCAL loPreviewContainer, loReportListener
>
>*-- Create the preview container
>DO (_REPORTPREVIEW) WITH loPreviewContainer
>
>*-- Change some of the defaults
>loPreviewContainer.Caption = 'My Special Report'
>loPreviewContainer.ZoomLevel = 5 && 100%
>loPreviewContainer.ToolbarIsVisible = .t.
>
>*-- Create the Report Listener
>loReportListener = CREATEOBJECT('ReportListener')
>loReportListener.ListenerType = 1 && Preview
>
>*-- Assign the preview container to the listener
>loReportListener.PreviewContainer = loPreviewContainer
>
>*-- Run the report (with NOWAIT)
>REPORT FORM MySpecialReport OBJECT loReportListener NOWAIT
>
>*-- Change some more preview container properties
>loPreviewContainer.oForm.Toolbar.Dock(0) && Dock toolbar at the top
>loPreviewContainer.oForm.WindowState = 2 && Maximize preview
>
Mathias Banda

Time is longer than a rope.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform