Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printscreen from VFP?
Message
From
25/11/1997 09:44:46
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00062108
Message ID:
00062139
Views:
35
>>Anyone know of a way to send a 'printscreen' of the current active FoxPro form to the (default) printer from within VFP 3.0b running on a Windows95 machine? I suspect there is probably a way to issue a keyboard printscreen code to copy the form to the clipboard, and then some way to print it from there. Am I on the right track?
>>Thanks,
>>Dave DeHaan
>
>the print screen key will put the current screen picture in the clipboard. from there, we use paint to print or save as a file.

I see I was making the first part too complicated. I thought I would need the KEY code for the Print Scrn key (which I couldn't find anywhere)! I'm still not sure how I would implement this. When the user presses the Print Scrn key (or ALT-Print Scrn), the form (screen) image is copied to the clipboard. That I can see, this user action does not activate the .paint() method in and of itself. Also, I am not sure how to get the image from the clipboard to the printer. I tried 'DISPLAY MEMORY LIKE _CLIPTEXT TO PRINTER', but it didn't work. Can you elaborate?
Thanks,
Dave D.
Previous
Reply
Map
View

Click here to load this message in the networking platform