Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Current printer?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00144671
Message ID:
00144787
Views:
26
>>>I could wip up my own dialog box, but I really need access to all the settings/pages/landscape etc that the Setup Printer dialog brings up.
>>
>>What do you need that cant be set using the Properties button in the SYS(1037) dialog box?
>
>Nothing. That has everything I need, except the ability to tell me if they cancelled out of the dialog or not. If they had done that, or allowed a setup button on GETPRINTER(), I'd be all set. It just seems like M$ ALWAYS comes up just a little bit short of what you need to get the job done. Just like Access...


Well, there you have it then. Create your own dialog that returns .T. or .F. to indicate whether Ok, or Cancel was pressed. Provide access to the printer settings in a button on the form via sys(1037). You could then have something along these lines:
do form frmPrintDialog to llOkToPrint
if llOkToPrint
	report form .... to print
else
	=messagebox('Print cancelled')
endif
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform