>Is there a way to save only certain lines instead of the whole screen and restore only those line to the screen? Clipper had a function called savescreen(10,10,20,79,tmpscreen) which did this and I am converting the program. All help will be appreciated.
Since you didn't precisely pose your question under "FoxPro 2.x", I will assume you are using VFP. The problem here is that in a graphic environment, the screen isn't exactly divided in rows and columns. Instead, you have pixels.
I am sure there is an API function with which you can get a specified screen area (with coordinates in pixels, of course), but I don't know the details.
Saving a screen will also consume more resources than in text-mode.
What you would usually want to do is just define different windows. You can do this even in FoxPro/DOS. In a modern application, I see no need to save and restore screens, or parts thereof - you just close a window, and the background re-appears.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)