VL-Web Displaying cubic metre symbol (㎥) and cubic centimetre symbol (㎤) on a label

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
Rieko Saitoh
Posts: 58
Joined: Sat Apr 30, 2016 11:46 am

VL-Web Displaying cubic metre symbol (㎥) and cubic centimetre symbol (㎤) on a label

Post by Rieko Saitoh »

Hi,

We would like to display cubic metre symbol (㎥) and cubic centimetre symbol (㎤) on a label. However, we can not input these into the label component's caption. When these are input, these will be middle dots (・) .
㎥ and ㎤ are platform dependent characters. But, even platform dependent characters, ㎝ and m can be input.
Is there a way to set ㎥ and ㎤ on a label?

Thank you.

Best regareds,
Rieko Saitoh
LANSA japan
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: VL-Web Displaying cubic metre symbol (㎥) and cubic centimetre symbol (㎤) on a label

Post by MarkD »

Is this any help?

Code: Select all

Begin_Com Role(*EXTENDS #PRIM_WEB)

Define_Com Class(#prim_labl) Name(#Label1) Caption('Nett Volume') Tabstop(False) Displayposition(2) Parent(#COM_OWNER) Tabposition(1) Width(191) Height(39) Style(#BiggerFont)
Define_Com Class(#prim_labl) Name(#Label2) Caption('Available Volume') Tabstop(False) Displayposition(1) Parent(#COM_OWNER) Tabposition(2) Height(47) Width(253) Top(56) Left(16) Style(#BiggerFont)

Define_Com Class(#Prim_vs.style) Name(#BiggerFont) Fontsize(14) Fontunits(Point)

Evtroutine Handling(#com_Owner.CreateInstance)

#Label1.Caption += " ( " + (13221).AsUnicodeString + " )"
#Label2.Caption += " ( " + (13220).AsUnicodeString + " )"

Endroutine

End_Com
Rieko Saitoh
Posts: 58
Joined: Sat Apr 30, 2016 11:46 am

Re: VL-Web Displaying cubic metre symbol (㎥) and cubic centimetre symbol (㎤) on a label

Post by Rieko Saitoh »

Hi Mark,

Thank you very much for your reply.
It was realized in the way you taught us.
I appreciate your help!!

Best regards,
Rieko Saitoh
LANSA japan
Post Reply