Coloring text messages

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

Coloring text messages

Post by AriSilva »

Is there a way to put some color attributes in the errmsgs texts?
Sometimes it is needed to emphasize certain messages in the CAPI applications.
As far as I know, the only formatting options we have now is to use \n to skip to the next line.
Best
Ari
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Coloring text messages

Post by Gregory Martin »

If you're running on Windows, you could modify the error message font for operator-controlled messages:

https://www.csprousers.org/help/CSPro/s ... ction.html

You could force the use of operator-controlled messages in a system-controlled application:

https://www.csprousers.org/help/CSPro/s ... ction.html

However, this will color the whole message, not just a part. Other than that, and on Android, there is no way to change the formatting.
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

Re: Coloring text messages

Post by AriSilva »

I´m talking about CAPI on Android.
Is it difficult to put color on Androids, even for the whole msg?
Or having a different msg type for a general prompt, for example?
This might be good to separate error messages from warning messages, or prompt alerts.
Best
Ari
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Coloring text messages

Post by Gregory Martin »

It's not particularly difficult on Android, but we'd have to think about how to allow users to specify colors, how to implement it on Windows, etc. We'll definitely add it to our list of feature requests.
Post Reply