Consultor Eletrônico



Kbase 18956: How to change the default font within GUI Results
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Unverified

GOAL:

Alternative Method for Changing GUI Results Default Font

GOAL:

How to change the default font within GUI Results

FIX:

In Progress 8.2A, the size of the font that Results uses changed from a 10 point font to an 8 point font. As a consequence of the smaller default font, many Results reports now gave a much different appearance.

The following two methods can be used to alter the font that Results uses, without making system Registry changes.

Both methods given below use modifications to the Progress.ini file.  The difference between the two lie in the method of accessing Results -- either via a Shortcut/Command line or via the 4GL.

- The first method uses a shortcut and also applies to the command line.


1) Copy %DLC%\BIN\Progress.ini to %DLC%\BIN\ResGui.ini.

2) Open the new .ini file in Notepad or your favorite text editor and in the fonts section where it says: font0=Courier New, size=8, Change the "8" to "10" (or the desired size) and save the file.

3) Create an icon on your desktop with all of the necessary connection information, Including -p results.p and then enter the following in the Target String:

%DLC%\BIN\Prowin32.exe <startup & connection parameters> -basekey INI
-ininame ResGui.ini

- The second method uses the 4GL.


1) Copy %DLC%\BIN\Progress.ini to %DLC%\BIN\ResGui.ini.

2) Open the new .ini file in NotePad or your favorite text editor. In the [fonts] section where it shows: font0=Courier New, size=8, change the "8" to "10" (or the desired size). Save the file.

3) In the 4GL do the following:


CONNECT <connection parameters>.
LOAD "ResGui.ini".
USE "ResGui.ini".
RUN results.p <startup parameters>.
LOAD "Progress.ini".
USE "Progress.ini".