Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting if Report Preview is Open
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00811180
Message ID:
00811192
Vues:
17
>Is there a way to detect if the print preview window is open. I have an application toolbar with a close button (it has a door). When the print preview is open, sometimes, my users click on the Application Toolbar close button on accident and then after they close the report preview, the application shutsdown (as it is supposed to when they click on the application close button). I'm hoping to put a check in the application close button to make sure the print preview is not open, and if so, ignore the click on this button.
>
>Thanks
>Kirk

Just disable the application close when a prieview is brought up and re-enable it when the preview is finished.

_SCREEN.Closable = .F.
REPORT FORM .... PREVIEW
_SCREEN.Closable = .T.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform