Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

foxpro dos 2.5 to vfp. screen to approximate dos screen 1

Status
Not open for further replies.

simonlichten

Programmer
May 18, 2001
2
US
We pushed things off for more than 5 years, and stuck with foxpro for DOS. We want to convert. As a first step, I would like the screen in vfp to simulate the 24 lines that were available in dos. What combination of foxels, fontsize etc would approximate 24 lines on the vfp screen?. The old code (more than 200 programs) uses extensive @ row , col say/get to display and it is coming out all wrong in vfp?

Thanks - Simon
 
Hello.

Simon, the short answer is no ;). The coordonates in main screen are given in current screen font and the font dimension is given in points. Suppose you'll find by trial an error a font which will give what you want (hard to believe, but not impossible). What happens when the users change the resolution? Your work is ruined.

If you want to convert the app, then convert them. Don't run FPD code in Visual FoxPro. You'll obtain FPD results. In this case, why bother?

Hope this helps. Grigore Dolghin
Class Software
Bucharest, Romania
 
Grigore:
I was hoping it would work, but I see your point.

Thanks
Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top