Hi All,
I want to fetch the updated font information without putting this information permanently into related font .ini file.
I am using the given code to allow user to update font setting:-
DEFINE VARIABLE iFont AS INTEGER NO-UNDO INITIAL 3.
DEFINE VARIABLE cChangeFont AS CHARACTER NO-UNDO.
SYSTEM-DIALOG FONT iFont. /* To open the font dialog and allow user to update font setting */
GET-KEY-VALUE SECTION "FONTS" KEY "Font" + STRING(iFont) VALUE cChangeFont. /* To store the updated font value in "cChangeFont" */
I am expecting variable "cChangeFont" is updated with new font setting but it is still giving me the old font setting.
If i update the font related file through "PUT-KEY-VALUE FONT iFont" and fetch the font setting again it returns me updated font setting. But i do not want to update this file ever.
Regards
Ankit Kumar
I want to fetch the updated font information without putting this information permanently into related font .ini file.
I am using the given code to allow user to update font setting:-
DEFINE VARIABLE iFont AS INTEGER NO-UNDO INITIAL 3.
DEFINE VARIABLE cChangeFont AS CHARACTER NO-UNDO.
SYSTEM-DIALOG FONT iFont. /* To open the font dialog and allow user to update font setting */
GET-KEY-VALUE SECTION "FONTS" KEY "Font" + STRING(iFont) VALUE cChangeFont. /* To store the updated font value in "cChangeFont" */
I am expecting variable "cChangeFont" is updated with new font setting but it is still giving me the old font setting.
If i update the font related file through "PUT-KEY-VALUE FONT iFont" and fetch the font setting again it returns me updated font setting. But i do not want to update this file ever.
Regards
Ankit Kumar