Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page Setup with Modal Form
Message
From
02/03/1999 06:45:52
 
 
To
24/02/1999 11:55:44
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00190997
Message ID:
00193067
Views:
16
>I want to display the Page Setup before I print a report.
>
>I added the bar "_mfi_pgset" in my menu.
>But the problem is when I want to call the "Page Setup" from a modal form. I can't do that !
>
>Did somebody no How I can do that ?
>
>I want to be able to print "recto-verso" in a sheet or print multiple copies, ...
>
>Thanks in advance !!
>
>Stef :)

You could use the PROMPT clause of the REPORT command. This way the page setup dialog will automatically appear before printing. Check out help on "REPORT".

When you start a modal form, you can't activate any menu options any more (I think). A solution that worked in previous versions of foxpro : create the menu AFTER you start the modal form (e.g. in the Init()-event of the form), and release it again in the Release()-event of the form.

You can select recto-verso printing in the page setup dialog box if your printer supports that. I don't know if it is possible to do this manually, by printing the odd page numbers first, re-inserting the paper and then printing the even pages.

Hope this helps...

Marc.
Previous
Reply
Map
View

Click here to load this message in the networking platform