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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text displayed in a program change font size 1

Status
Not open for further replies.

tlayrock

Technical User
Jan 19, 2007
3
US
I am working with Fox Pro 2.6 on a Win XP machine. When I run a progam the text that is displayed on the screen is really small and is in the top left hand corner. Is there a way I can get it centered in the screen and a larger font size?
 
Right mouse the blue bar on the top of the Foxpro screen and select Properties. Then you can set things up as you wish
 
This program runs in the main screen of Fox and does not have a properties option when I right click.
 
Something is different about this version I guess neither suggestion is available for me.
 
What version is it, Fox for DOS or for Windows?

If it's Windows, you can always tell it what font to use at run time using the FONT clause:
Code:
@ 1, 1 SAY "Whatever" FONT "Times New Roman", STYLE "BI"
To center it takes a little more work though:
Code:
@ 1, (WCOLS()/2)-(TXTWIDTH(ALLTRIM("Whatever"), 'Times New Roman', 12)/2);
   SAY ALLTRIM("Whatever") ;
   FONT "Times New Roman", 12


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top