I've been searching over the web, but I couldn't find a way to set
an ohm sign to a TEdit. I know its Unicode ID is 2126 but I don't know
how can I get it.
Thanks in advance.
I suspect that you mean $2126 (i.e. hex), though I am not
familiar with the conventional way to write unicode ord values.
--JohnH
TEdit does not support unicode text in the current Delphi versions. You
have to use a 3rd-party alternative.
--
Peter Below (TeamB)
Don't be a vampire (http://slash7.com/pages/vampires),
use the newsgroup archives :
http://www.tamaracka.com/search.htm
http://groups.google.com
Peter Below (TeamB) escreveu:
Or you could use the Symbol font, included with Windows, if you just want to
display a value followed by the 'ohm' sign.
Except that the TEdit can only use one font for the whole text field. If
you want the other characters in the Symbol font also in the TEdit field,
that's fine, but I suspect you won't. You'd have to use a TRichEdit to
embed multiple fonts in one control. Or, like was mentioned, a 3rd-party
control.
--
David Cornelius
CorneliusConcepts.com