Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prompt dialog
Message
From
29/09/2009 18:19:51
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01426748
Message ID:
01426754
Views:
62
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>Is there a way to simulate the exact Prompt dialog (with number of pages, etc.) or the GetPrinter() is the best we can have? Did someone already create this dialog so I would not need to re-invent the wheel?
>
>Thanks a lot in advance..

You can try the common dialog I can tell you first I don't know how to work with it but maybe someone else does
lo_printer = NEWOBJECT('MSComDlg.CommonDialog')

WITH lo_printer
   .PrinterDefault = .t.
   .flags = 256 
   .ShowPrinter()
ENDWITH

? set('printer', 2) && Will return the printer name
But I don't know how to get access do the # pages they selected or anything else. I know not much of a help.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform