Page 1 of 1

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

Posted: Fri Jun 16, 2017 12:29 pm
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

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

Posted: Fri Jun 16, 2017 2:46 pm
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

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

Posted: Fri Jun 16, 2017 4:41 pm
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