home *** CD-ROM | disk | FTP | other *** search
- PARADOX FOR WINDOWS .INI SETTINGS
- ---------------------------------
-
- This file describes the settings Paradox uses in its .INI files. It
- explains each section that appears in .INI files and the purpose, syntax,
- and values of each setting.
-
- Note: This file describes only the settings in the .INI files and
- the Paradox features they apply to. It does not describe
- the feature itself. For an explanation of a feature, what it
- does, and how to use and change it, refer to "Getting
- Started" and the "User's Guide."
-
- See also: For an overview of Paradox's .INI files, how they work, and how
- you can use their settings to improve your work with Paradox,
- see Chapter 14 in "Getting Started."
-
- 1. SETTINGS IN WIN.INI
- ----------------------
-
- Paradox places two sections in WIN.INI that define the initial directories
- and define default command line options.
-
- The [ODAPI] section
- -------------------
- [ODAPI] starts ODAPI and indicates the location of ODAPI.CFG. It contains
- one setting:
-
- CONFIGFILE01 tells ODAPI where to find its configuration file.
-
- Syntax: CONFIGFILE01 = <Filename>
-
- where <Filename> is a string describing the location
- and name of the configuration file to be used. If
- <Filename> refers to a directory or file that can't be
- found, Paradox fails to load. By default, this is set
- to ODAPI.CFG in the directory where you installed
- ODAPI.
-
- Example: CONFIGFILE01 = C:\WINDOWS\SYSTEM\ODAPI.CFG
-
- The [PDOXWIN] section
- ---------------------
- [PDOXWIN] contains the initial directories used by Paradox and default
- command line options. It contains the following settings:
-
- WORKDIR defines the initial working directory.
-
- Syntax: WORKDIR = <Directory>
-
- where <Directory> is a string describing the initial
- working directory. If <Directory> cannot be found or
- is being used as a private directory by another user
- or application, Paradox uses the current directory.
-
- Example: WORKDIR = C:\PDOXWIN\SAMPLE
-
-
- PRIVDIR is the directory where Paradox stores its temporary files.
-
- Syntax: PRIVDIR = <Directory>
-
- where <Directory> is a string describing the private
- directory. If <Directory> cannot be found or is being
- as a private directory by another user or application,
- Paradox uses the Windows TEMP directory.
-
- Example: PRIVDIR = C:\PDOXWIN\PRIVATE
-
-
- FLAGS lets you define permanent command line options for Paradox to
- use when starting.
-
- Syntax: FLAGS = <Options>
-
- where <Options> is the list of command line options
- (and their parameters) you want Paradox to use. When
- defining more than one option, separate each with a
- space.
-
- Example: FLAGS = -q -m -c
-
-
- 2. SETTINGS IN PDOXWIN.INI
- --------------------------
-
- There are a number of sections in PDOXWIN.INI, each describing the default
- properties, behaviors, and appearance of Paradox's windows. A description
- of each section and its properties follows.
-
- The [Properties] section
- ------------------------
- This section describes the properties of the Desktop and contains the
- following settings:
-
- TITLE is the message that appears in the Paradox title bar.
-
- Syntax: Title = <Message>
-
- where <Message> is a string containing the message you
- display in the title bar. While this can be virtually
- any length, the message is truncated to fit the size of
- the Desktop Window. This message also titles the
- Paradox icon when you minimize it.
-
- Example: Title = Paradox for Windows, version 1.0
-
-
- SPEEDBARSTATE describes the shape of the SpeedBar.
-
- Syntax: SpeedBarState = <State>
-
- where <State> is a string containing one of the
- following values:
-
- Fix (display the SpeedBar below the menu bar)
- Horz1 (display it as a one row, floating window)
- Horz2 (display it as a two row, floating window)
- Vert1 (display it as a one column, floating window)
- Vert2 (display it as a two column, floating window)
-
- Other values are ignored and cause the SpeedBar to
- appear below the menu bar.
-
- Example: SpeedBarState = Vert2
-
-
- BACKGROUND is the background bitmap for the Desktop.
-
- Syntax: Background = <Filename>
-
- where <Filename> is a string indicating the location
- and name of the bitmap you want to use. If <Filename>
- can't be found or is not a valid bitmap, this setting
- is ignored and no bitmap is used.
-
- Example: Background = C:\WINDOWS\CHESS.BMP
-
-
- CUSTOMCOLOR defines the custom colors defined in the Colors Palette.
-
- Syntax: CustomColor<n> = <RGBValue>
-
- where <n> is an integer ranging from 1 to 8 and
- indicates the position of the color in the Color
- Palette.
-
- where <RGB> is an eight-digit integer value with the
- following format:
-
- - the first two digits are always zero
-
- - the second two digits are a hexadecimal value
- indicating the intensity of red in the custom
- color
-
- - the third two digits are a hexadecimal value
- indicating the intensity of green in the custom
- color
-
- - the last two digits are a hexadecimal value
- indicating the intensity of blue in the custom
- color.
-
- Note: While you can use RGB, HSV, or CYM palettes to define
- your custom colors, they are stored as RGB values.
-
- Example: CustomColor1 = 00000000 ; Black
- CustomColor2 = 00FFFFFF ; White
-
-
- SPEEDBARPOS defines the position of the upper, left corner of a
- floating SpeedBar.
-
- Syntax: SpeedBarPos = <Row> <Col>
-
- where <Row> is an integer indicating the row number (in
- pixels) and <Col> is an integer indicating the column.
- If SPEEDBARSTATE does not indicate a floating SpeedBar,
- this setting is ignored.
-
- Example: SpeedBarPos = 10 10
-
- BLANKISZERO indicates whether or not Paradox treats blank values in
- tables as zeros in number, short, or currency fields.
-
- Syntax: BlankIsZero = <Toggle>
-
- where <Toggle> is either TRUE (treat blank values as
- zeros) or FALSE (blank values are different than
- zeros). Other values cause this to be set to FALSE; the
- default is TRUE.
-
- Example: BlankIsZero = True
-
- REFRESHRATE is the number of seconds Paradox waits before refreshing
- the screen when working with files shared between users or
- applications.
-
- Syntax: RefreshRate = <Seconds>
-
- where <Seconds> is an integer indicating the number of
- seconds between refresh operations. Invalid values
- set this to 0 and the default value is 5.
-
-
- LEVEL filters ObjectPAL methods and features to different user
- levels.
-
- Syntax: Level = <Filter>
-
- where <Filter> is one of the following strings:
-
- Beginner
- Advance
-
- Other values cause this to be set to Beginner.
-
- Example: Level = Advance
-
-
- The [Designer] section
- ----------------------
- This section describes the preferences set with the Properties|Designer
- command and contains the following settings:
-
- SELECTFROMINSIDE determines whether or not an object can be selected
- before any objects containing it.
-
- Syntax: SelectFromInside = <Toggle>
-
- where <Toggle> is a string containing On (you can
- directly select an object) or Off (you must select any
- container objects before selecting an object). Other
- values cause this to be Off.
-
- Example: SelectFromInside = On
-
-
- PROTOFILE is the file containing the prototype properties applied to
- new design objects.
-
- Syntax: ProtoFile = <Filename>
-
- where <FileName> is a string indicating the location and
- name of the prototype file to use. If you do not include
- a directory path in <Filename>, Paradox searches for the
- file in the working directory. If you do not indicate a
- file name in <Filename>, Paradox looks for PXTOOLS.FT in
- the directory contained in <Filename>. If <Filename>
- cannot be located, Paradox uses PXTOOLS.FT.
-
- Example: ProtoFile = C:\PDOXWIN\XYZZY.FT
-
-
- FRAMEOBJECTS indicates whether or not Paradox displays frames around
- objects in Design windows.
-
- Syntax: FrameObjects = <Toggle>
-
- where <Toggle> is a string containing On (display
- frames around objects) or Off (don't display frames).
- Other values cause frames to appear.
-
- Example: FrameObjects = Off
-
-
- FLICKERFREEDRAW indicates whether or not Paradox eliminates "screen-
- flicker" while resizing or moving design objects.
-
- Syntax: FlickerFreeDraw = <Toggle>
-
- where <Toggle> is a string containing On (suppress
- screen flicker) or Off (don't suppress flicker.) Other
- values cause this to be On. (Note: Setting this On may
- degrade performance.)
-
- Example: FlickerFreeDraw = Off
-
-
- OUTLINEDMOVE indicates whether or not Paradox displays objects when
- you move or resize them.
-
- Syntax: OutlinedMove = <Toggle>
-
- where <Toggle> is a string containing On (display only
- an outline of the object being moved or resized) or Off
- (display the full object when it is moved or resized).
- Other values cause this to be set On. (Note: Setting
- this On can improve performance.)
-
- Example: OutlinedMove = On
-
-
- The [Form] section
- ------------------
- This describes the properties and preferences of Form windows. It contains
- the following settings:
-
- RULERVERT determines whether or not the Vertical Ruler is displayed
- in the Form Design window.
-
- Syntax: RulerVert = <Toggle>
-
- where <Toggle> is a string containing On (display the
- Vertical Ruler) or Off (don't display the ruler). Other
- values cause this to be set to On.
-
- Example: RulerVert = On
-
-
- RULERHORZ determines whether or not the Horizontal Ruler is displayed
- in the Form Design window.
-
- Syntax: RulerHorz = <Toggle>
-
- where <Toggle> is a string containing On (display the
- Horizontal Ruler) or Off (don't display the ruler).
- Other values cause this to be set to On.
-
- Example: RulerHorz = On
-
-
- RULEREXTD determines whether or not the Extended Ruler is displayed
- in the Form Design window.
-
- Syntax: RulerExtd = <Toggle>
-
- where <Toggle> is a string containing On (display the
- Extended Ruler) or Off (don't display the ruler). Other
- values cause this to be set to On.
-
- Example: RulerExtd = On
-
-
- GRID determines whether or not the design grid appears in a Form
- Design window.
-
- Syntax: Grid = <Toggle>
-
- where <Toggle> is a string containing On (display the
- grid) or Off (don't display the grid). Other values
- cause this to be Off.
-
- Example: Grid = On
-
-
- GRIDSNAP determines whether or not objects snap to the nearest grid
- location when placed, moved, or resized.
-
- Syntax: GridSnap = <Toggle>
-
- where <Toggle> is a string containing On (snap objects
- to the grid) or Off (don't snap objects). Other values
- cause this to be Off.
-
- Example: GridSnap = On
-
-
- GRIDSETTINGS describes the measurement units, major division, and
- minor division used to display the design grid.
-
- Syntax: GridSettings <Units> <Major> <Minor>
-
- where <Units> is a string containing IN (inches) or CM
- (centimeters). Other values set this to IN.
-
- where <Major> is an integer (ranging from 1 to 5)
- describing the number of units between major divisions
- in the grid. Other values cause this to be set to 1.
-
- where <Minor> is an integer describing the number
- of minor divisions between major divisions in the
- grid. The values of this depend on <Units>.
-
- - If <Units> is IN, <Minor> can be 4, 8, 10, 16,
- or 32.
-
- - If <Units> is CM, <Minor> can be 2, 5, 10, 20,
- or 50.
-
- Other values set <Minor> to the smallest value for the
- units of measurement.
-
- Example: GridSettings = CM 4 2
-
-
- ZOOM controls the level of magnification used to display a document.
-
- Syntax: Zoom = <Value>
-
- where <Value> is a string containing 25%, 50%, 100%,
- 200%, 400%, Fit Width, Fit Height, or Best Fit. Other
- values cause this to be set to 100%.
-
- Example: Zoom = 200%
-
-
- The [Reports] section
- ---------------------
- This section describes the preferences used to display and design reports.
- Some settings in this section are similar to settings in the [Form]
- section and have the same effects for Report windows. These similar
- settings include:
-
- RULERVERT
- RULERHORZ
- RULEREXTD
- GRID
- GRIDSNAP
- GRIDSETTINGS
- ZOOM
-
- For an explanation of these settings and their values, see the description
- of the same settings in the [Form] section earlier in this file.
-
- The [Report] section also contains other settings, including:
-
- BANDLABELS indicates whether or not a report design's band labels
- appear as boundary lines.
-
- Syntax: BandLabels = <Toggle>
-
- where <Toggle> is a string containing On (display
- boundary lines) or Off (hide boundary lines). Other
- values set this On.
-
- Example: BandLabels = Off
-
-
- GROUPREPEATS indicates whether or not Paradox displays duplicate
- values in group bands.
-
- Syntax: GroupRepeats = <Toggle>
-
- where <Toggle> is a string containing On (display
- duplicate values) or Off (don't display duplicates).
- Other values set this On.
-
- Example: GroupRepeats = Off
-
-
- The [Query] section
- -------------------
- This section contains ANSWER table and sort order preferences for Query
- windows and contains the following settings:
-
-
- RUNOPTS indicates what Paradox should do if data in a table
- changes during a query. This contains the preference set with
- Properties|Restart Options.
-
- Syntax: RunOpts = <Option>
-
- where <Option> is an integer containing one of the
- following values:
-
- 1 (Ignore source changes and continue running
- the query)
- 2 (Lock tables in the query to prevent changes)
- 3 (Restart query if source tables change)
-
- Other values cause Paradox to ignore source (data)
- changes and continue running the query (the default).
-
- Example: RunOpts = 2 ; LOCK
-
- IMAGESTYLE indicates whether Paradox tiles or cascades windows
- containing the results of queries.
-
- Syntax: ImageStyle = <Style>
-
- where <Style> is either TILE (the default) or CASCADE.
- Other values cause this to be set to TILE.
-
-
- The [Folder Props] section
- --------------------------
-
- The [Folder Props] section contains property settings used to configure
- Folder windows.
-
- SHOWALLFILES indicates whether or not Paradox automatically
- includes icons for every file in the working directory when you
- open a folder the first time.
-
- Syntax: ShowAllFiles = <Toggle>
-
- where <Toggle> is a string containing TRUE (show all
- files) or FALSE (user will add the files to show).
- Other values cause this to be set to TRUE (the
- default).
-
-
- The [IDE] Section
- -----------------
- The [IDE] section configures the Integrated Development Environment (IDE)
- used when creating or editing methods, scripts or libraries. It controls
- the size, font and properties of the Editor window and contains the
- following settings:
-
- USRDEFAULTSIZE indicates whether or not the Editor window is sized
- according to sizes defined by the user.
-
- Syntax: USRDefaultSize = <Toggle>
-
- where <Toggle> is a string containing TRUE (user
- defined window size) or FALSE (use a different sizing
- method). Other values cause this setting to be ignored.
-
- Example: USRDefaultSize = True
-
-
- PALDEFAULTSIZE indicates whether or not the Editor window is set to a
- default size according to the size of the Desktop.
-
- Syntax: PALDefaultSize = <Toggle>
-
- where <Toggle> is a string containing TRUE (use the
- default sizing method) or FALSE (use a different sizing
- method). Other values cause this setting to be ignored.
-
- Example: PALDefaultSize = True
-
-
- MDIDEFAULTSIZE sizes the Editor window to the default Windows sizing
- for MDI windows.
-
- Syntax: MDIDefaultSize = <Toggle>
-
- where <Toggle> is a string containing TRUE (use Windows
- sizing) or FALSE (use a different sizing method).
- Other values cause this setting to be ignored.
-
- Example: MDIDefaultSize = True
-
-
- MDICASCADE indicates whether or not Editor windows are cascaded when
- opened.
-
- Syntax: MDICascade = <Toggle>
-
- where <Toggle> is a string containing TRUE (cascade new
- Editor windows) or FALSE (create Editor windows in the
- same place). Other values cause this setting to be
- ignored.
-
- Example: MDICascade = FALSE
-
-
- IDESIZE indicates the size and position of the Editor window.
-
- Syntax: IDESize = <Left> <Top> <Right> <Bottom>
-
- where <Left>, <Top>, <Right>, and <Bottom> are integers
- indicating the screen position, in pixels, of the
- appropriate Editor window border. If any of these
- options are set to -32768, the position is determined
- by Windows.
-
- The default values depend on the setting of MDICASCADE.
- If MDICASCADE is TRUE, the default values are -32768;
- otherwise, the values are set according to the size and
- position of the Editor window borders.
-
- If USRDEFAULTSIZE or PALDEFAULTSIZE is TRUE, this
- setting is ignored.
-
-
- TYPEFACE indicates the font used in the Editor window.
-
- Syntax: TypeFace = <FontName>
-
- where <FontName> is a string containing the name of
- the font Paradox will use for Editor windows. This can
- be any font installed in Windows. If the font can't be
- located, Paradox uses the Windows System font (the
- default).
-
- To indicate a different font, use the text string saved
- in WIN.INI. You can also set this to SystemFont (to
- force Editor windows to use the System font) or PalTE
- (to use a special font available to Editor windows).
-
- Example: TypeFace = SystemFont
-
-
- FONTHEIGHT indicates the font size of text in an Editor window.
-
- Syntax: FontHeight = <PointSize>
-
- where <PointSize> is the desired font size (in points).
- This can range from 6 to 72. Other values cause this to
- use the default size (12).
-
- Example: FontHeight = 10
-
-
- FONTWEIGHT indicates the stroke weight of the Editor window font.
-
- Syntax: FontWeight = <WeightOption>
-
- where <WeightOption> is a string containing one of the
- following values:
-
- Normal
- Thin
- ExtraLight
- Medium
- SemiBold
- Bold
- ExtraBold
- Heavy
- DontCare (default font weight)
-
- Other values cause this to be set to DONTCARE.
-
- Note: To use a special weight, it must be installed in
- Windows using that name. For example, to use Courier
- Bold, you must have a Courier Bold font installed in
- Windows Control Panel.
-
- Example: FontWeight = Normal
-
-
- FONTSTYLE indicates whether or not the Editor window font is
- italicized.
-
- Syntax: FontStyle = <ItalString>
-
- where <ItalString> is a string containing NORMAL (don't
- italicize Editor window text) or ITALIC (italicize
- text). Other values cause this to be set to NORMAL.
-
- Example: FontStyle = Italic
-
-
- USEALTEDITOR indicates whether Paradox opens ObjectPAL code in an
- Editor window or starts an external editor.
-
- Syntax: UseAltEditor = <Toggle>
-
- where <Toggle> is a string containing TRUE (use an
- alternate editor) or FALSE (use the Paradox editor).
-
- Example: UseAltEditor = TRUE
-
-
- ALTERNATEEDITOR contains the name and location of the alternate
- editor to use when USEALTEDITOR is TRUE.
-
- Syntax: AlternateEditor = <Location><Filename>
-
- where <Location> is a string indicating where the
- alternate editor is located. If this doesn't contain a
- drive letter, Paradox assumes the alternate editor is
- on the current drive. If <Location> is left blank,
- Paradox searches the current directory and the
- directories in the DOS PATH.
-
- where <Filename> is the filename (including extension)
- of the alternate editor.
-
- Note: If Paradox can't locate or start the alternate editor,
- it uses the Paradox editor.
-
- Example: AlternateEditor = C:\WINDOWS\NOTEPAD.EXE
-
-
- SHOWCOMPILERWARNINGS indicates whether or not Paradox displays
- warnings when compiling ObjectPAL code.
-
- Syntax: ShowCompilerWarnings = <Toggle>
-
- where <Toggle> is a string containing TRUE (show
- warnings) or FALSE (don't show warnings). Other values
- set this to TRUE.
-
- Example: ShowCompilerWarnings = TRUE
-
-
- The [Desktop] section
- ---------------------
- The [Desktop] section describes the position, size, and appearance of the
- Desktop window and contains only one setting, a series of numbers with the
- following syntax:
-
- <SRow> <SCol> <ERow> <ECol> <Min> <Max>
-
- where <SRow> is an integer describing the row position
- (in pixels) of the upper, left corner of the Desktop
- window.
-
- where <SCol> is an integer describing the column
- position (in pixels) of the upper, left corner of the
- Desktop window.
-
- where <ERow> is an integer describing the row position
- (in pixels) of the lower, right corner of the Desktop
- window.
-
- where <ECol> is an integer describing the column
- position (in pixels) of the lower, right corner of the
- Desktop window.
-
- where <Min> is an integer describing whether or not the
- Desktop is minimized into an icon. This can be 1 (the
- Desktop is minimized) or 0 (it isn't minimized). Other
- values cause this to be 0.
-
- where <Max> is an integer describing whether or not the
- Desktop is maximized. This can be 1 (the Desktop is
- maximized) or 0 (it isn't maximized). Other values
- cause this to be 0.
-
- Example: [Desktop]
- 0 0 640 480 0 1
-
-
- The [Windows] section
- ---------------------
- This section describes windows that were left open when Paradox was last
- exited. It contains one line for each window. Each line uses the following
- syntax:
-
- <File> <Module> <SRow> <SCol> <ERow> <ECol> <Min> <Max> <Mode> <Res>
-
- where <File> is the location and the name of the file
- opened in the window. This can include a full,
- relative, or alias directory and must include the file
- extension. If Paradox cannot find the file, the line is
- ignored.
-
- where <Module> is the name of the Paradox module using
- the file and must include the full directory path of
- the module (for example, C:\PDOXWIN). Valid modules
- include:
-
- PXDVIEW.DLL (for viewing tables)
- PXDSERV.DLL (for documents)
- PXDQBE.DLL (for queries)
- PDOXWIN.EXE (for folders) *
-
- where <SRow> is an integer describing the row position
- (in pixels) of the upper, left corner of the open
- window.
-
- where <SCol> is an integer describing the column
- position (in pixels) of the upper, left corner of the
- open window.
-
- where <ERow> is an integer describing the row position
- (in pixels) of the lower, right corner of the open
- window.
-
- where <ECol> is an integer describing the column
- position (in pixels) of the lower, right corner of the
- open window.
-
- where <Min> is an integer describing whether or not the
- window is minimized into an icon. This can be 1 (the
- window is minimized) or 0 (it isn't minimized). Other
- values cause this to be 0.
-
- where <Max> is an integer describing whether or not the
- window is maximized. This can be 1 (the window is
- maximized) or 0 (it isn't maximized). Other values
- cause this to be 0.
-
- where <Mode> is an integer describing the mode of a
- document window and can be one of the following values:
-
- 0 (not a document file)
- 1 (document is being run or previewed, primarily for
- reports)
- 2 (document is being designed)
- 8 (document is being viewed)
-
- Other values cause this line to be ignored.
-
- where <Res> is reserved and is ignored.
-
- * Note: The file name for folders is PROJECT.CAT.
-
- Example: [Windows]
- :work:contacts.db C:\PDOXWIN\PXDVIEW.DLL 0 0 400 270 0 0 0 0
- custform.fsl C:\PDOXWIN\PXDSRV2.DLL 400 0 400 180 0 0 2 0
- LABELS.RSL C:\PDOXWIN\PXDSRV2.DLL 160 149 624 206 0 0 8 0
- ORDERS.QBE C:\PDOXWIN\PXDQBE.DLL 58 88 624 150 1 0 0 0
- project.cat C:\PDOXWIN\PDOXWIN.EXE 68 8 421 190 0 0 0 0
-
-
- Other sections
- --------------
- Other sections that appear in Paradox's .INI files usually contain custom
- configurations or formats defined and saved by the user. For example, if
- you define a new picture and add it to the Pictures list when creating or
- restructuring a table, Paradox saves the new picture to a section in
- PDOXWIN.INI called [Picture]. Alternatively, if you use the Create
- Number Format dialog box to define, name, and keep a new number format,
- Paradox saves the new format to a section called [Formats].
-
- The settings, syntax, and format of these sections are particularly
- complex and we recommend against adding or editing these sections in
- Paradox's .INI files. Use the tools provided in Paradox to create, edit,
- or delete settings that appear in these sections; otherwise, unexpected
- results might occur.
-
-