do (_ReportPreview) with m.loPreview with m.loPreview .CurrentPage = 1 && start with page 1 .ToolbarIsVisible = .t. && display the toolbar .CanvasCount = 2 && display 2-up pages .ZoomLevel = 4 && set zoom to 75% .Width = _screen.Width - 30 .Caption = 'My very own preview' endwith * Create the listener and tell it to use the preview window. m.loListener = newobject('MyListener', ; 'MyListenerLib.vcx') m.loListener.OutputType = 1 m.loListener.PreviewContainer = m.loPreview report form myreport.frx object loListenerHTH
"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."
- Ephesians 4:29-30 NIV
Dare to Question -- Care to Answer
Time is like water in a sponge, as long as you are willing you can always squeeze some.
--Lu Xun, Father of Modern Chinese Literature