>I need to display 2.6 dos screens w/in VFP.
>We are going to convert to VFP forms but we need something up and running by the end of the month.
>
>As an app, I change the _Screen.FontName to FoxFont and set the font size and everything displays properly.
>
>I tried to run this same app as an exe.
>I put a number of messageboxes around one of the screens.
>The FontName always displayed "FoxFont" but the screen looks like it is using some other font.
>
>Is there a simple solution to this problem?
You need to distribute FoxFont (the file) with your exe - it's not necessarily registered among the system fonts. You could use any other non-proportional font - Courier New, Lucida Console. It would look even better, because you could play with font sizes and find something that looks good.
Though, the line draw characters, if your scxes use a lot of boxes, would look weird then, if they were composed by putting characters together. Simple
@ 5,5 to 12,12
should look OK.
You can also instantiate a simple form (with caption, its own nonproportional font, even background image), show it, and then start issuing says and gets on it, with Read in the end - I've tried it and it works. If you create this form with foxels instead of pixels, it would automatically resize itself to accomodate the number of rows and columns you want to give it - the .width and .height are in rows and columns then.