Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Define window
Message
From
03/06/2002 13:30:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Define window
Miscellaneous
Thread ID:
00664158
Message ID:
00664158
Views:
63
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
Map
View

Click here to load this message in the networking platform