10-27-2022 02:43 AM
Hello, hello,
I'd like to show full chemical symbols in the user interface, exactly like this:
As far as I know there is no subscript/superscript for text in CVI, so it'd have to be done either:
Any other idea ?
Thanks
Solved! Go to Solution.
10-27-2022 03:09 AM
Hi,
the idea of subscript/superscript in UI text is under consideration for 12 years now 🙄, and with the unofficial end of the product is not likely to be realized.... I used the second approach with several text message controls which is more effort but looks reasonable
10-27-2022 03:16 AM
Yeah, I'd seen your idea suggestion, but unless HTML gets folded into CVI, I don't see how they could get it in ! No small feat, without even considering the Damocles sword hanging above CVI.
I need the chemical symbols on graphs and in tables, so I'll try the canvas/bitmap/image approach.
11-03-2022 08:21 AM
I've coded a small(ish) function to create a bitmap of a chemical element symbol, with options. It's available at https://gitlab.com/dargaud/ElementBitmap