Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ReportListener features
Message
From
19/01/2007 18:52:05
 
 
To
19/01/2007 18:38:21
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01187231
Message ID:
01187256
Views:
20
OK
When I do the following, I get a set of features via toolbar and popup menu that include the following:
1. Page navigation
2. Display options
3. Print
4. Close

But not the features I mentioned.
Do those need to be provided via extensions?


DO (_REPORTPREVIEW) WITH loPreviewContainer

*-- Change some of the defaults
loPreviewContainer.CAPTION = 'Schedule 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 OCSchVal OBJECT loReportListener NOWAIT


>Report Listeners have nothing to do with what's on the toolbar. You can create your own custom toolbar and add all those items.



>Report Listeners have nothing to do with what's on the toolbar. You can create your own custom toolbar and add all those items.
>
>>I'm using reportpreview.app and reportoutput.app to do my reports via a Report Listener.
>>
>>Can I get the following via the toolbar or menu?
>>
>>1. Prompt to choose among multiple printers available on the system.
>>2. Selection of pages to print.
>>3. Access to Printer preferences.
>>2. Print to file.
>>
>>Are these features that I need to add via extensions?
>>
>>Thanks,
>>Howard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform