Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pushing the limits?
Message
From
15/07/2003 12:30:04
Steven Edge
Soft Solutions Limited
Lagos, Nigeria
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00797918
Message ID:
00810261
Views:
39
Dear Anatoliy,

Thank you for the useful links. I could not access them as you seem to need to be a member, but I submitted my credit card so I guess I will be able to get in once they have processed my payment.

Steven

>FoxPro graphics methods and properties are rather limited. Take a look anyway:
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp/html/samDraw_Lines_and_Shapes_on_a_Form.asp
>
>Windows GDI functions give much more options. Though it requires a certain amount of programming.
>
>Any window and any printer can be linked to a device context. The device context is like a canvas, you can draw on it using many dozens of GDI functions: lines in different angles, curves, ellipses, rectangles, polygons, irregular shapes using various line and fill styles, print text and draw images stored in bitmap files.
>
>If a graphic object is drawn on a window, it is possible to copy its image to a printer -- actually the image is copied between two device contexts.
>
>Two FoxPro examples demonstrate how to do that:
>
>How to print a FoxPro form
>http://www.news2news.com/vfp/?example=158&function=123
>
>How to print a FoxPro form using Enhanced Metafile API functions.
>http://www.news2news.com/vfp/?example=406
>
>Not only the whole form but any rectangular area of it can be printed.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform