Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with getPrinter() and SYS(1037)
Message
 
À
27/12/1999 15:22:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00294947
Message ID:
00308923
Vues:
43
>I tried your code. And without much fan-fare, foxpro bombed. I'm using SP3 also.
>
>Are you tring to allow the user to select a printer and the settings for that printer at run time for any given report?
>
>Rob.

Rob,

I'm letting the user set the printer and printer settings and then I'm creating the dummy report and using the Expr, Tab, and Tab2 fields to gather information into memvars for later use.

If the user selects OK everything works fine. I've tried to look at LASTKEY() but no matter what is pressed in the SYS(1037) dialog window LASTKEY will return 13 (Carriage Return).

This code is left over from FPW2.6 and there is probably some new Visual way of doing the same thing which I probably need to look into but one thing is for sure: hitting Esc in SYS(1037) certainly screws up some Windows setting or memvar somewhere.

Ed
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform