how to set default font

I'm in the process of converting a character based progress v7 app to v 10.1. Most of the code works in windows for the time being but I need it to use a fixed font. How do you set the default font to fixed?

Thx,
Shawn


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Stefan Drissen's picture

Default font

The Progress help file contains an entry 'Migrating Progress Applications from 16-bit to 32-bit' which also discusses the default font.

The quickest way is to adjust the progress.ini being used and adjust the DefaultFont to use the same font as the DefaultFixedFont in the [startup] section (or adjust the corresponding registry section). Note that this is also the dirtiest way and can give you lots of grief when updating screens to use proportional fonts.

Ideally all old windows should explicitly set their font to a fixed font.


Thanks, that helped a lot.

Thanks, that helped a lot. I can't find the document you mentioned though about the 'migrating progress applications' Was it in the progress documentation? If so, which manual? I normally refer to the ABL reference and the ABL Handbook but it's not in either one. I've downloaded the entire documentation library and there's a zillion books but no global index to search.

Thanks,
Shawn


Stefan Drissen's picture

Migrating 16-bit to 32-bit

This WAS in the 8.3 thru 9.1E help files (16to32.hlp). It seems to no longer be relevant for OE10 ;-).

Search for "migrating 16-bit to 32-bit" on psdn.progress.com and the first entry will be the doc.