>>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement