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

Visual Foxpro Environment Customization

Status
Not open for further replies.

Webrookie

Programmer
May 18, 2000
112
US
I feel like a real newbie asking this. But all I want to do is make my VFP 6.0 main window look different. I want a black background and a green foreground. No matter what I try I can't seem to make VFP start up with these settings.

Here's what I have in my config.fpw

_SCREEN.BackColor="0"
_SCREEN.Forecolor="65280"
_SCREEN.FontSize="8"
_SCREEN.FontName="Andale Mono"
_SCREEN.FontBold=.t.

The Font settings work every time I load. Just the BackColor and Forecolor don't seem to work. config.fpw is located in my program files\microsoft visual studio\vfp98directory. Any help appreciated. No Rush (-:
 
These settings can't be made directly in your CONFIG.FPW file. Instead add these to a VFPSTART.PRG (e.g. in c:\vfp70\vfpstart.prg):
* VFPSTART.PRG
_SCREEN.BackColor=0 && note this is a number!
_SCREEN.Forecolor=65280
_SCREEN.FontSize=8
_SCREEN.FontName="Andale Mono"
_SCREEN.FontBold=.t.


Then in your CONFIG.FPW, add the line:
_startup="c:\vfp70\vfpstart.prg"

Rick

 
Ahhhh, much better.

Thank you for the quick response. It worked [afro]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top