Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with getPrinter() and SYS(1037)
Message
 
To
27/12/1999 15:22:48
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00294947
Message ID:
00308923
Views:
49
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform