Autor Beitrag
D. Annies
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Mo 06.08.07 11:27 
Hi, Delpher,

ich möchte in einem Label das hebräische Zeichen Alef oder Aleph darstellen.

Mein Versuch:

ausblenden Delphi-Quelltext
1:
label14.Font.name := 'Arial Unicode MS'; label14.Font.Size := 14; label14.Caption := chr(05D0);					


Leider klappt das nicht: Fehlermeldung: )erwartet, und zwar
nach dem D in chr(05D0)

Wie mache ich es richtig?

Danke für Hilfe, sagt
Detlef
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 06.08.07 11:34 
Wenn, dann
label14.Caption := WideChar($05D0); (WideChar und $), aber das wird so nicht gehen, da ein normales Label keine Unicode-Zeichen darstellen kann.

_________________
We are, we were and will not be.
D. Annies Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Mo 06.08.07 12:07 
Hi, Gausi,

du hast mir (wieder einmal) genau den richtigen Tipp gegeben.
Ich habe dann noch ein TntLabel statt eines Labels genommen und dann ging es natürlich! :D

Vielen Dank, Detlef