Saving font in loaded ini-file

Maik Puetz

New Member
Hello Progress-Community,

I have a little problem with saving fonts in ini-files.

If I say:

def var FontSelect as integer initial 49.
system-dialog font FontSelect.

put-key-value font all.

the new font is stored in the ini-file as given as parameter -inifile with my program-shortcut.

To save the new font in a new ini-file for each user of our program I wrote:

load "user.ini" dir "h:/temp/" base-key "INI".
use "user.ini".

def var FontSelect as integer initial 49.
system-dialog font FontSelect.

put-key-value font all.

unload "user.ini".

The new font won't be saved. Is there a logical error or is it not possible.
 
Back
Top