General information
Category:
Reports & Report designer
I would like to view a report preview inside a window, so I issued the following code:
SELECT CQUEST
define window wReport from 0,0 to 100,200 title "MyReportPreview" system close
activate window wReport
zoom window wReport max
REPORT FORM myReport NOEJECT NOCONSOLE window wReport TO PRINT prompt preview in screen
release window wReport
This does put my report into a window, however the zoom feature doesn't seem to take into consideration the status bar at the bottom and makes it the same size as the current window, which places the bottom scrollbar under the status bar (where the user can't use it).
I have played with maximize, nomaximize, zoom and mdi in the define window command and can't seem to get the right combination for fixing the problem.
I've also tried setting:
_screen.ActiveForm.MinButton
_screen.ActiveForm.MaxButton
_screen.ActiveForm.ZoomBox
true and false to get the desired results, and can't seem to make it work correctly.
anyone know what I'm doing wrong?
Sharon
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only