Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing Out a form
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00116890
Message ID:
00117726
Views:
25
>>>>>Does anyone know a simple way to print out a form (or part of it) ?
>>>>
>>>>You can automate 'print screen'.
>>>
>>>Yes... maybe I shouldn't have said "simple" ... Prtsc is too simple. For example I have a form which displays a graph (directly on the form) and a grid. I would like to send only the graph to the printer.
>>>Thnx,
>>>Eylon
>>
>>Save your graph (hopefully, you use MSGraph) in general field and use this field in report form.
>
>The graph is created directly in VFP (by adding elements on the form). We checked MSGraph - It couldn't handle (visually) what we need. We could use graphics server (the graph control) but loading the control slows down the form, and as the graph is constantly being refreshed performance is not acceptable. But doesn't all this raise a need for some type of print method in the form?!
>Eylon

If you want to print purely VFP elements, then you have a choice:
either you make a trick: temporarily increase size of those elements so form with them will fill whole screen and then again automate 'print screen';
or you should ask George Tasker to make keybd_event API to print just active form, which it should do according Help- I was unsuccessful here.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform