Here are codes set to easily change your Visual FoxPro command window font. All you need to do is just write down this code into a VFP .prg file. Run the .prg to change font. The codes using functions from foxtools.fll.
LOCAL ARRAY laEnv SET LIBRARY TO FoxTools ADDITIVE ACTIVATE WINDOW Command * Get the whandle for the current window lnwhandle = _WonTop() lnResult = _EdGetEnv( lnwHandle, @laEnv ) * Make sure that call succeed and the handle belongs to the Command Window IF lnResult <> 0 AND laEnv=0 && Font Name laEnv = "Consolas" && Font Size laEnv = 13 IF _EdSetEnv( lnwHandle, @laEnv ) <> 0 ? "Success" ELSE ? "Could not set Command Window Font" ENDIF ELSE ? "Could not get Command Window handle" ENDIF
Ok! Enjoy this easy thing to change your Visual FoxPro Command-line window's font.
Code from here.