Registry on Windows

Registry on Windows

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

Registry on Windows

On Windows, Zim stores basic information in the Registry, like environment variables, options, etc.

The ZIM and SQLCPI environment variables

The ZIM and SQLCPI environment variables are located in the registry at

/HKEY_LOCAL_MACHINE/SOFTWARE/Zim Corporation/Zim//Zim

where version number is the version of Zim that you are currently running.

The ZIM environment variable tells where the Zim software and its components are installed.

The SQLCPI environment variable tells where the Server Access Modules are installed. Normally, its address is the same as ZIM.

Special options for the user

Zim accepts some configuration options passed via the zimconfig.zim configuration file that are valid for all users connected to a particular database application.

However, sometimes is needed to specifically set some options only valid for the current user logged in a particular machine. These options are stored in

/HKEY_CURRENT_USER/SOFTWARE/Zim Corporation/Zim//Zim/ZIM

Zim, at start up, reads these options and uses them during the session. These options can be read or changed using the functions $GetProperty and $SetProperty with the REG option.

The currently available options of importance to users are described below. Some options present in the above location are set dynamically by Zim components and should not be changed manually.

Backscreen Menu

With the following entry in the registry

Backscreen Menu = 0

the backscreen menu does not display. The default value for Backscreen Menu is 1.

Editor

The EDITOR option describes the default editor for the Zim session. An example of an editor setting might be

Editor c:myEditor.exe

TUI Simulation Font
TUI Simulation Fontsize

Describe the font and the size of the font used to simulate text applications.

The default TUI Simulation font is “courier new bold” size 10.

TUI Simulation font=Courier
TUI Simulation fontsize=8

A font can be bolded by adding the case sensitive keyword Bold to the fontname, as shown in the following examples:

TUI Simulation font=Courier Bold

or

TUI Simulation font=Bold Courier

The simulation font is used for all controls.

The FixedSys font is used by TUI applications on Microsoft Windows. However it usually comes in only one size so that all controls use the same size font. This restriction can  result in it being clipped in comboboxes and pushbuttons.

Large Toolbuttons

Describes the size of the buttons to be displayed in the tool bars. the font and the size of the font used to simulate text applications.

Value

Comments

0

Tool buttons are the normal size. This is the default.

1

Tool buttons take the larger size.

 

Example:

Large Toolbuttons 0

3D

It describes the 3-dimensional appearance of Zim widgets.

Value

Comments

0

Turn off 3D look for entire application.

1

The default. Turn on 3D appearance, unless widget explicitly created without 3D border.

2

Turn on 3D appearance, unless widget explicitly created without 3D border; Window and widget background colors inherit the 3D color with the exception of entry fields, list and combo boxes which inherit from window color. This setting works well with pre 5.4 graphical applications.

Example:

3D 2

 

Was this article helpful?
5 out of 5 stars

1 rating

5 Stars 100%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish