I just wanna use Delta sign "Δ" in Borland c++ Builder 5.
for example in a label:
Label1->Caption = "delta sign here?";
thnx.
I just wanna use Delta sign "Δ" in Borland c++ Builder 5.
for example in a label:
Label1->Caption = "delta sign here?";
thnx.
C++Builder 5 uses an ANSI-based VCL and ANSI-based Win32 API calls, where the ANSI encoding is dictated by the active user's locale settings in Windows.
If your app is running on a Greek machine that uses Latin-7/ISO-8859-7 (Windows codepage 28597) as its native locale, or at least has Greek fonts installed, you should be able to set the
Label1->Font->Charset
toGREEK_CHARSET
(161) andLabel1->Font->Name
to a Greek font, and then assign the Delta character like this:Or:
However, if you need to display the Delta character on a non-Greek machine, or at least one that does not have any Greek fonts installed, you will have to use a third-party Unicode-enabled Label component, such as from the old TNTWare component suite, so that you can use Unicode codepoint U+0394 directly, eg: