Dressing up an Alert Signal message
Author: superticker
Creation Date: 4/19/2016 3:40 PM
profile picture

superticker

#1
Can one just place any old Unicode character in any Wealth-Lab string and have Wealth-Lab display it (say in a Signal Name message)? Or do I have to install a special font to do that? I would like to include a star or arrow in an Alert Signal message.

Is there a simple way to color an Alert Signal message?

Finally, is the ...
CODE:
Please log in to see this code.
... directive only required if one is using Unicode characters in Wealth-Lab strings? Is it already included in some other more general DLL assembly such as System.Windows.Forms?
profile picture

Eugene

#2
QUOTE:
Can one just place any old Unicode character in any Wealth-Lab string and have Wealth-Lab display it (say in a Signal Name message)?

Sure you can, just find an appropriate Unicode literal:

CODE:
Please log in to see this code.
profile picture

superticker

#3
Thanks. That works great. (Seems to work without the "using System.Text;" directive as well.)

Now is there any way to include Rich-Text-Formatting (RTF) in a string so I can change the color or weight of the font?
profile picture

Eugene

#4
Not in a ListView like the Alerts tab.

In your own code, yes: Copy to Clipboard > see "Advanced example".
profile picture

Cone

#5
Nice example!
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).