Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call to print or preview from the same button
Message
From
03/01/2021 10:22:15
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01677711
Message ID:
01677712
Views:
66
>Hi,
>
>I am working on a program that consists of a grid. That is it, the program is just one grid. In this grid the user will see all work orders assigned to him/her. One of the columns of the grid will allow the user to print any of the work orders in the grid.
>But sometimes, a user does not want to print but simply a view the order; in a report preview format. And the key is that I don't want to have two button - that is to take two columns - one for print, one for preview. In my initial test, I do the preview by using the doPDF driver installed on my PC. So, by choosing this driver, I can view without printing. But I do not want to "force" the customer to install a doPDF or some other driver that allows to convert a print to a PDF.
>Instead I want all the functionality be in the program.
>
>I can add a small menu, when user clicks on this button that will ask if user want to Print or Preview.
>
>So, my question, how else would you suggest having both Print and/or Preview in one button of the grid?
>
>TIA

I strongly recommend the free FoxyPreviewer. You only need to make a few changes in your program, and you will have it exactly like you want it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform