>Right now, my client is using a PC Magazine utility (Printnow) to print the form that they're viewing. It works well enough, and can print either the entire screen or the just the currently active window, but it considers the main VFP window to be the active window, so they print the desired form, but also anything else that VFP is displaying -- system menu, status bar, etc. -- so it's slightly inelegant. My ideal is to have a "print" button on the form which will instantly print only the active form, which I have no idea how to do -- I would imagine it would require some hook into the Windows API. Of course, I could create a report that duplicates the contents of the form, but that's more work :(
>
>Anybody have any ideas?
There is programmatic solution to print whole screen from VFP. Unfortunately, I couldn't make it workable for one form only. Surely, there is always workaround to blank all other screen areas temporarily and print screen will work alwost like print a form.
Edward Pikman
Independent Consultant