Change font in Message Alert Box

Skc

Member
Does anyone know how to change the font in a Message Alert box command eg.

message "Please try again" view-as alert-box error.


I want the text "Please try again" or whatever to be a certain font that can be set globally for all messages within Progress. If not, then can the font be set for indivdual messages?


Thanks.
Skc
 
I'm pretty sure this can't be done. You could write your own message procedure, but you would need to change all your code to call it :(

Another option is to use windows "display properties dialog" to the "message box" font.
 
When I need to create a non standard alert message, either with something different about the message, or with buttons other than yes/no/cancel, I just create a dialog. It's quite easy to create a dialog with a high degree of generalised functionality so that it can be used like the standard alert box.

hth
 
Thanks guys

Using windows "display properties dialog" seems an easy way except that it would affect all message boxes and windows as well. It's a quick fix-it.
----

Replacing all my messages with a custom 'frame view-as dialog-box' and adding my own buttons, wait-for command, etc is a lot of work. Do you build an include file? or a function? or what? Would be worth considering if the generalised routine's syntax is built like that of a message command. Then would not have to change that much. Or how do you do it?


Regards
Skc
 
I just create the dialog in the uib, its much quicker than doing it in code, then change the message command to something like

RUN message-dialog
("Display this message").

or

RUN question-dialog
("Ask a question", OUTPUT the-answer).

Skc said:
Thanks guys

Using windows "display properties dialog" seems an easy way except that it would affect all message boxes and windows as well. It's a quick fix-it.
----

Replacing all my messages with a custom 'frame view-as dialog-box' and adding my own buttons, wait-for command, etc is a lot of work. Do you build an include file? or a function? or what? Would be worth considering if the generalised routine's syntax is built like that of a message command. Then would not have to change that much. Or how do you do it?


Regards
Skc
 
Back
Top