Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can I set ohm sign to a TEdit?

7 views
Skip to first unread message

tiago tecchio

unread,
Jul 15, 2008, 5:36:23 PM7/15/08
to
Hello!

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.

John Herbster

unread,
Jul 15, 2008, 7:45:01 PM7/15/08
to
"tiago tecchio" <tiagot...@gmail.com> wrote
> ... I couldn't find a way to set an ohm sign to a TEdit.
> I know its Unicode ID is 2126 ...

I suspect that you mean $2126 (i.e. hex), though I am not
familiar with the conventional way to write unicode ord values.
--JohnH

Peter Below (TeamB)

unread,
Jul 16, 2008, 1:32:53 PM7/16/08
to
tiago tecchio wrote:

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

tiago tecchio

unread,
Jul 16, 2008, 1:40:51 PM7/16/08
to
OK, thank you. I've suspected that TEdit doesn't support such functionality.

Peter Below (TeamB) escreveu:

Fox

unread,
Jul 24, 2008, 10:22:01 PM7/24/08
to

"tiago tecchio" <tiagot...@gmail.com> wrote in message
news:487e32a4$1...@newsgroups.borland.com...

> OK, thank you. I've suspected that TEdit doesn't support such
> functionality.

Or you could use the Symbol font, included with Windows, if you just want to
display a value followed by the 'ohm' sign.


David Cornelius

unread,
Jul 25, 2008, 12:22:53 PM7/25/08
to
> 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

0 new messages