Microsoft KB Archive/107830: Difference between revisions

From BetaArchive Wiki
m (Text replacement - """ to """)
m (Text replacement - ">" to ">")
 
(One intermediate revision by the same user not shown)
Line 62: Line 62:
<div class="indent">
<div class="indent">


Zoomed=&lt;Boolean&gt;
Zoomed=<Boolean>


<div class="indent">
<div class="indent">
Line 70: Line 70:


</div>
</div>
Row=&lt;numeric in pixels&gt;
Row=<numeric in pixels>
<div class="indent">
<div class="indent">


Line 77: Line 77:


</div>
</div>
Column=&lt;numeric in pixels&gt;
Column=<numeric in pixels>
<div class="indent">
<div class="indent">


Line 84: Line 84:


</div>
</div>
Height=&lt;numeric in pixels&gt;
Height=<numeric in pixels>
<div class="indent">
<div class="indent">


Line 91: Line 91:


</div>
</div>
Width=&lt;numeric in pixels&gt;
Width=<numeric in pixels>
<div class="indent">
<div class="indent">


Line 98: Line 98:


</div>
</div>
FontName=&lt;font name&gt;
FontName=<font name>
<div class="indent">
<div class="indent">


Line 105: Line 105:


</div>
</div>
FontStyle=&lt;numeric&gt;
FontStyle=<numeric>
<div class="indent">
<div class="indent">


Line 112: Line 112:


</div>
</div>
FontSize=&lt;numeric&gt;
FontSize=<numeric>
<div class="indent">
<div class="indent">


Line 126: Line 126:


</div>
</div>
PrtFontName=&lt;font name&gt;
PrtFontName=<font name>
<div class="indent">
<div class="indent">


Line 133: Line 133:


</div>
</div>
PrtFontStyle=&lt;numeric&gt;
PrtFontStyle=<numeric>
<div class="indent">
<div class="indent">


Line 140: Line 140:


</div>
</div>
PrtFontSize=&lt;numeric&gt;
PrtFontSize=<numeric>
<div class="indent">
<div class="indent">



Latest revision as of 16:45, 20 July 2020

Knowledge Base


Description of FOXPRO.INI Settings

Article ID: 107830

Article Last Modified on 9/30/2003



APPLIES TO

  • Microsoft Visual FoxPro 3.0 Standard Edition



This article was previously published under Q107830

SUMMARY

The FOXPRO.INI file stores three sets of data: the last position of the main FoxPro screen when FoxPro is exited, the current screen font, and the current printer font for the output of files that are currently being edited.

MORE INFORMATION

The settings are configured in the following format:

[Section name]
SettingName=value


The following SettingNames are available in the FOXPRO.INI file below the [FOXPRO] section name:

Zoomed=<Boolean>

This SettingName is use to determine if the user had the screen maximized when he or she last quit FoxPro. The Boolean value can be a 1 (maximized) or a 0 (not maximized). If Zoomed=1, the SettingNames Row, Column, Height, and Width should all be set to 0.


Row=<numeric in pixels>

This is the vertical starting position of the main FoxPro window if it is not maximized. The value is in pixels.


Column=<numeric in pixels>

This is the horizontal starting position of the main FoxPro window if it is not maximized. The value is in pixels.


Height=<numeric in pixels>

This is the height of the main FoxPro window in pixels.


Width=<numeric in pixels>

This is the width of the main FoxPro window in pixels.


FontName=

The is the default screen font used by FoxPro for all screen definitions. Each individual screen font definition can be changed under screen layout in the screen generator. The font name should appear in the same format as seen in the Windows Control Panel Fonts icon.


FontStyle=<numeric>

This is the default font style used by FoxPro for all screen definitions. Font styles are regular, bold, italic, and bold italic. The FontStyle SettingName requires a numeric value: regular=0, bold=1, italic=2, bold italic=3.


FontSize=<numeric>

This is the point size of the default font. For example, if you want the default screen font to be Arial bold 10-point size, you would enter the following information in the FOXPRO.INI file:

FontName=Arial FontStyle=1 FontSize=10


You can also change the default font directly through FoxPro; this is the preferred method. To change the default screen font, hold down the SHIFT key and choose Screen Font from the Text menu. Any changes made will be reflected in the FOXPRO.INI file when you quit FoxPro.

PrtFontName=

Same as FontName except this is the font used to print out .PRG files or text files currently being edited.


PrtFontStyle=<numeric>

Same as FontStyle. See above.


PrtFontSize=<numeric>

Same as FontSize. See above.


You can manually change PrtFontName, PrtFontStyle, and PrtFontSize by editing the FOXPRO.INI file. You can also change PrtFontName and PrtFontSize in FoxPro by using the following command:

SET PRINT FONT "Arial",12


NOTE: SET PRINT FONT is an undocumented command. For more information, query on the following words:

FoxPro and set and print and font


SET PRINT FONT does not affect PrtFontStyle. PrtFontStyle must be changed manually in the FOXPRO.INI file.


Additional query words: VFoxWin FoxWin 2.50 2.50a 2.50b 2.60 2.60a

Keywords: KB107830