Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Define window
Message
De
03/06/2002 13:30:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Define window
Divers
Thread ID:
00664158
Message ID:
00664158
Vues:
65
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform